Class BucketCorrelationAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketPathAggregation
co.elastic.clients.elasticsearch._types.aggregations.BucketCorrelationAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable public class BucketCorrelationAggregation extends BucketPathAggregation implements AggregationVariant
A sibling pipeline aggregation which executes a correlation function on the
configured sibling multi-bucket aggregation.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBucketCorrelationAggregation.BuilderBuilder forBucketCorrelationAggregation.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketPathAggregation
BucketPathAggregation.AbstractBuilder<BuilderT extends BucketPathAggregation.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<BucketCorrelationAggregation>_DESERIALIZERJson deserializer forBucketCorrelationAggregation -
Method Summary
Modifier and Type Method Description Aggregation.Kind_aggregationKind()Aggregation variant kind.BucketCorrelationFunctionfunction()Required - The correlation function to execute.static BucketCorrelationAggregationof(java.util.function.Function<BucketCorrelationAggregation.Builder,ObjectBuilder<BucketCorrelationAggregation>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupBucketCorrelationAggregationDeserializer(ObjectDeserializer<BucketCorrelationAggregation.Builder> op)Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketPathAggregation
bucketsPath, setupBucketPathAggregationDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forBucketCorrelationAggregation
-
-
Method Details
-
of
public static BucketCorrelationAggregation of(java.util.function.Function<BucketCorrelationAggregation.Builder,ObjectBuilder<BucketCorrelationAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
function
Required - The correlation function to execute.API name:
function -
serializeInternal
- Overrides:
serializeInternalin classBucketPathAggregation
-
setupBucketCorrelationAggregationDeserializer
protected static void setupBucketCorrelationAggregationDeserializer(ObjectDeserializer<BucketCorrelationAggregation.Builder> op)
-