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 String
field()
The field used to provide values used for de-duplication.final Integer
Limits how many documents are permitted per choice of de-duplicating value.final Script
script()
API name:script
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupDiversifiedSamplerAggregationDeserializer
(ObjectDeserializer<DiversifiedSamplerAggregation.Builder> op) final Integer
Limits 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, wait
Methods 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:
_aggregationKind
in 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDiversifiedSamplerAggregationDeserializer
protected static void setupDiversifiedSamplerAggregationDeserializer(ObjectDeserializer<DiversifiedSamplerAggregation.Builder> op)
-