Class CompositeAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.CompositeAggregation
- All Implemented Interfaces:
AggregationVariant,ApiKeyAggregationVariant,JsonpSerializable
@JsonpDeserializable
public class CompositeAggregation
extends BucketAggregationBase
implements AggregationVariant, ApiKeyAggregationVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
BucketAggregationBase.AbstractBuilder<BuilderT extends BucketAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CompositeAggregation>Json deserializer forCompositeAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.ApiKeyAggregation variant kind.final Map<String,FieldValue> after()When paginating, use theafter_keyvalue returned in the previous response to retrieve the next page.static CompositeAggregationprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integersize()The number of composite buckets that should be returned.final List<Map<String,CompositeAggregationSource>> sources()The value sources used to build composite buckets.Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregationMethods inherited from interface co.elastic.clients.elasticsearch.security.query_api_keys.ApiKeyAggregationVariant
_toApiKeyAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forCompositeAggregation
-
-
Method Details
-
of
public static CompositeAggregation of(Function<CompositeAggregation.Builder, ObjectBuilder<CompositeAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
_apiKeyAggregationKind
ApiKeyAggregation variant kind.- Specified by:
_apiKeyAggregationKindin interfaceApiKeyAggregationVariant
-
after
When paginating, use theafter_keyvalue returned in the previous response to retrieve the next page.API name:
after -
size
The number of composite buckets that should be returned.API name:
size -
sources
The value sources used to build composite buckets. Keys are returned in the order of thesourcesdefinition.API name:
sources -
serializeInternal
- Overrides:
serializeInternalin classAggregationBase
-
setupCompositeAggregationDeserializer
protected static void setupCompositeAggregationDeserializer(ObjectDeserializer<CompositeAggregation.Builder> op)
-