Class MultiTermsAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.MultiTermsAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable public class MultiTermsAggregation extends BucketAggregationBase implements AggregationVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultiTermsAggregation.BuilderBuilder forMultiTermsAggregation.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
BucketAggregationBase.AbstractBuilder<BuilderT extends BucketAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MultiTermsAggregation>_DESERIALIZERJson deserializer forMultiTermsAggregation -
Method Summary
Modifier and Type Method Description Aggregation.Kind_aggregationKind()Aggregation variant kind.TermsAggregationCollectModecollectMode()API name:collect_modejava.lang.LongminDocCount()API name:min_doc_countstatic MultiTermsAggregationof(java.util.function.Function<MultiTermsAggregation.Builder,ObjectBuilder<MultiTermsAggregation>> fn)java.util.List<NamedValue<SortOrder>>order()API name:orderprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupMultiTermsAggregationDeserializer(ObjectDeserializer<MultiTermsAggregation.Builder> op)java.lang.LongshardMinDocCount()API name:shard_min_doc_countjava.lang.IntegershardSize()API name:shard_sizejava.lang.BooleanshowTermDocCountError()API name:show_term_doc_count_errorjava.lang.Integersize()API name:sizejava.util.List<MultiTermLookup>terms()Required - API name:termsMethods 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
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forMultiTermsAggregation
-
-
Method Details
-
of
public static MultiTermsAggregation of(java.util.function.Function<MultiTermsAggregation.Builder,ObjectBuilder<MultiTermsAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
collectMode
API name:collect_mode -
order
API name:order -
minDocCount
@Nullable public final java.lang.Long minDocCount()API name:min_doc_count -
shardMinDocCount
@Nullable public final java.lang.Long shardMinDocCount()API name:shard_min_doc_count -
shardSize
@Nullable public final java.lang.Integer shardSize()API name:shard_size -
showTermDocCountError
@Nullable public final java.lang.Boolean showTermDocCountError()API name:show_term_doc_count_error -
size
@Nullable public final java.lang.Integer size()API name:size -
terms
Required - API name:terms -
serializeInternal
- Overrides:
serializeInternalin classAggregationBase
-
setupMultiTermsAggregationDeserializer
protected static void setupMultiTermsAggregationDeserializer(ObjectDeserializer<MultiTermsAggregation.Builder> op)
-