Class VariableWidthHistogramAggregation
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.VariableWidthHistogramAggregation
-
- All Implemented Interfaces:
JsonpSerializable,AggregationVariant
@JsonpDeserializable public class VariableWidthHistogramAggregation extends java.lang.Object implements AggregationVariant, JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVariableWidthHistogramAggregation.BuilderBuilder forVariableWidthHistogramAggregation.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<VariableWidthHistogramAggregation>_DESERIALIZERJson deserializer forVariableWidthHistogramAggregation
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregation.Kind_aggregationKind()Aggregation variant kind.java.lang.Integerbuckets()API name:bucketsjava.lang.Stringfield()API name:fieldjava.lang.IntegerinitialBuffer()API name:initial_bufferstatic VariableWidthHistogramAggregationof(java.util.function.Function<VariableWidthHistogramAggregation.Builder,ObjectBuilder<VariableWidthHistogramAggregation>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupVariableWidthHistogramAggregationDeserializer(ObjectDeserializer<VariableWidthHistogramAggregation.Builder> op)java.lang.IntegershardSize()API name:shard_size-
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<VariableWidthHistogramAggregation> _DESERIALIZER
Json deserializer forVariableWidthHistogramAggregation
-
-
Method Detail
-
of
public static VariableWidthHistogramAggregation of(java.util.function.Function<VariableWidthHistogramAggregation.Builder,ObjectBuilder<VariableWidthHistogramAggregation>> fn)
-
_aggregationKind
public Aggregation.Kind _aggregationKind()
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
field
@Nullable public final java.lang.String field()
API name:field
-
buckets
@Nullable public final java.lang.Integer buckets()
API name:buckets
-
shardSize
@Nullable public final java.lang.Integer shardSize()
API name:shard_size
-
initialBuffer
@Nullable public final java.lang.Integer initialBuffer()
API name:initial_buffer
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupVariableWidthHistogramAggregationDeserializer
protected static void setupVariableWidthHistogramAggregationDeserializer(ObjectDeserializer<VariableWidthHistogramAggregation.Builder> op)
-
-