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 class
MultiTermsAggregation.Builder
Builder 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>
_DESERIALIZER
Json deserializer forMultiTermsAggregation
-
Method Summary
Modifier and Type Method Description Aggregation.Kind
_aggregationKind()
Aggregation variant kind.TermsAggregationCollectMode
collectMode()
API name:collect_mode
java.lang.Long
minDocCount()
API name:min_doc_count
static MultiTermsAggregation
of(java.util.function.Function<MultiTermsAggregation.Builder,ObjectBuilder<MultiTermsAggregation>> fn)
java.util.List<NamedValue<SortOrder>>
order()
API name:order
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupMultiTermsAggregationDeserializer(ObjectDeserializer<MultiTermsAggregation.Builder> op)
java.lang.Long
shardMinDocCount()
API name:shard_min_doc_count
java.lang.Integer
shardSize()
API name:shard_size
java.lang.Boolean
showTermDocCountError()
API name:show_term_doc_count_error
java.lang.Integer
size()
API name:size
java.util.List<MultiTermLookup>
terms()
Required - API name:terms
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
_aggregationKind
in 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:
serializeInternal
in classAggregationBase
-
setupMultiTermsAggregationDeserializer
protected static void setupMultiTermsAggregationDeserializer(ObjectDeserializer<MultiTermsAggregation.Builder> op)
-