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,AggregationVariant
@JsonpDeserializable public class DiversifiedSamplerAggregation extends BucketAggregationBase implements AggregationVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiversifiedSamplerAggregation.BuilderBuilder forDiversifiedSamplerAggregation.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
BucketAggregationBase.AbstractBuilder<BuilderT extends BucketAggregationBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DiversifiedSamplerAggregation>_DESERIALIZERJson deserializer forDiversifiedSamplerAggregation
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregation.Kind_aggregationKind()Aggregation variant kind.SamplerAggregationExecutionHintexecutionHint()API name:execution_hintjava.lang.Stringfield()API name:fieldjava.lang.IntegermaxDocsPerValue()API name:max_docs_per_valuestatic DiversifiedSamplerAggregationof(java.util.function.Function<DiversifiedSamplerAggregation.Builder,ObjectBuilder<DiversifiedSamplerAggregation>> fn)Scriptscript()API name:scriptprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDiversifiedSamplerAggregationDeserializer(ObjectDeserializer<DiversifiedSamplerAggregation.Builder> op)java.lang.IntegershardSize()API name:shard_size-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializer
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
_toAggregation
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<DiversifiedSamplerAggregation> _DESERIALIZER
Json deserializer forDiversifiedSamplerAggregation
-
-
Method Detail
-
of
public static DiversifiedSamplerAggregation of(java.util.function.Function<DiversifiedSamplerAggregation.Builder,ObjectBuilder<DiversifiedSamplerAggregation>> fn)
-
_aggregationKind
public Aggregation.Kind _aggregationKind()
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
executionHint
@Nullable public final SamplerAggregationExecutionHint executionHint()
API name:execution_hint
-
maxDocsPerValue
@Nullable public final java.lang.Integer maxDocsPerValue()
API name:max_docs_per_value
-
script
@Nullable public final Script script()
API name:script
-
shardSize
@Nullable public final java.lang.Integer shardSize()
API name:shard_size
-
field
@Nullable public final java.lang.String field()
API name:field
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classAggregationBase
-
setupDiversifiedSamplerAggregationDeserializer
protected static void setupDiversifiedSamplerAggregationDeserializer(ObjectDeserializer<DiversifiedSamplerAggregation.Builder> op)
-
-