Class DiversifiedSamplerAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregationBase
org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
org.opensearch.client.opensearch._types.aggregations.DiversifiedSamplerAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<DiversifiedSamplerAggregation.Builder,DiversifiedSamplerAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class DiversifiedSamplerAggregation
extends BucketAggregationBase
implements AggregationVariant, ToCopyableBuilder<DiversifiedSamplerAggregation.Builder,DiversifiedSamplerAggregation>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._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 TypeMethodDescriptionAggregationvariant kind.builder()booleanAPI name:execution_hintfinal Stringfield()API name:fieldinthashCode()final IntegerLimits how many documents are permitted per choice of de-duplicating value.final Scriptscript()API name:scriptprotected 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.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializerMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
toAggregationMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forDiversifiedSamplerAggregation
-
-
Method Details
-
of
-
_aggregationKind
Aggregationvariant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
executionHint
API name:execution_hint -
field
API name:field -
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 -
serializeInternal
- Overrides:
serializeInternalin classAggregationBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DiversifiedSamplerAggregation.Builder,DiversifiedSamplerAggregation> - Returns:
- a new builder instance.
-
builder
-
setupDiversifiedSamplerAggregationDeserializer
protected static void setupDiversifiedSamplerAggregationDeserializer(ObjectDeserializer<DiversifiedSamplerAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classBucketAggregationBase
-
equals
- Overrides:
equalsin classBucketAggregationBase
-