Class BucketCorrelationFunction
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.BucketCorrelationFunction
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class BucketCorrelationFunction extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBucketCorrelationFunction.BuilderBuilder forBucketCorrelationFunction. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<BucketCorrelationFunction>_DESERIALIZERJson deserializer forBucketCorrelationFunction -
Method Summary
Modifier and Type Method Description BucketCorrelationFunctionCountCorrelationcountCorrelation()Required - The configuration to calculate a count correlation.static BucketCorrelationFunctionof(java.util.function.Function<BucketCorrelationFunction.Builder,ObjectBuilder<BucketCorrelationFunction>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupBucketCorrelationFunctionDeserializer(ObjectDeserializer<BucketCorrelationFunction.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forBucketCorrelationFunction
-
-
Method Details
-
of
public static BucketCorrelationFunction of(java.util.function.Function<BucketCorrelationFunction.Builder,ObjectBuilder<BucketCorrelationFunction>> fn) -
countCorrelation
Required - The configuration to calculate a count correlation. This function is designed for determining the correlation of a term value and a given metric.API name:
count_correlation -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupBucketCorrelationFunctionDeserializer
protected static void setupBucketCorrelationFunctionDeserializer(ObjectDeserializer<BucketCorrelationFunction.Builder> op)
-