Class BucketCorrelationFunctionCountCorrelationIndicator
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.BucketCorrelationFunctionCountCorrelationIndicator
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class BucketCorrelationFunctionCountCorrelationIndicator
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder forBucketCorrelationFunctionCountCorrelationIndicator
. -
Field Summary
Modifier and TypeFieldDescriptionJson deserializer forBucketCorrelationFunctionCountCorrelationIndicator
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
docCount()
Required - The total number of documents that initially created the expectations.Required - An array of numbers with which to correlate the configuredbucket_path
values.An array of fractions to use when averaging and calculating variance.of
(Function<BucketCorrelationFunctionCountCorrelationIndicator.Builder, ObjectBuilder<BucketCorrelationFunctionCountCorrelationIndicator>> fn) void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupBucketCorrelationFunctionCountCorrelationIndicatorDeserializer
(ObjectDeserializer<BucketCorrelationFunctionCountCorrelationIndicator.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
public static final JsonpDeserializer<BucketCorrelationFunctionCountCorrelationIndicator> _DESERIALIZERJson deserializer forBucketCorrelationFunctionCountCorrelationIndicator
-
-
Method Details
-
of
-
docCount
public final int docCount()Required - The total number of documents that initially created the expectations. It’s required to be greater than or equal to the sum of all values in the buckets_path as this is the originating superset of data to which the term values are correlated.API name:
doc_count
-
expectations
Required - An array of numbers with which to correlate the configuredbucket_path
values. The length of this value must always equal the number of buckets returned by thebucket_path
.API name:
expectations
-
fractions
An array of fractions to use when averaging and calculating variance. This should be used if the pre-calculated data and the buckets_path have known gaps. The length of fractions, if provided, must equal expectations.API name:
fractions
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupBucketCorrelationFunctionCountCorrelationIndicatorDeserializer
protected static void setupBucketCorrelationFunctionCountCorrelationIndicatorDeserializer(ObjectDeserializer<BucketCorrelationFunctionCountCorrelationIndicator.Builder> op)
-