Class DiversifiedSamplerAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.DiversifiedSamplerAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable
public class DiversifiedSamplerAggregation
extends BucketAggregationBase
implements AggregationVariant, JsonpSerializable
- 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<DiversifiedSamplerAggregation>Json deserializer forDiversifiedSamplerAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.The type of value used for de-duplication.final Stringfield()The field used to provide values used for de-duplication.final IntegerLimits how many documents are permitted per choice of de-duplicating value.final Scriptscript()API name:scriptvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupDiversifiedSamplerAggregationDeserializer(ObjectDeserializer<DiversifiedSamplerAggregation.Builder> op) final IntegerLimits how many top-scoring documents are collected in the sample processed on each shard.toString()Methods 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 forDiversifiedSamplerAggregation
-
-
Method Details
-
of
-
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
executionHint
The type of value used for de-duplication.API name:
execution_hint -
maxDocsPerValue
Limits how many documents are permitted per choice of de-duplicating value.API name:
max_docs_per_value -
script
API name:script -
shardSize
Limits how many top-scoring documents are collected in the sample processed on each shard.API name:
shard_size -
field
The field used to provide values used for de-duplication.API name:
field -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDiversifiedSamplerAggregationDeserializer
protected static void setupDiversifiedSamplerAggregationDeserializer(ObjectDeserializer<DiversifiedSamplerAggregation.Builder> op)
-