Class VariableWidthHistogramAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.VariableWidthHistogramAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable public class VariableWidthHistogramAggregation extends java.lang.Object implements AggregationVariant, JsonpSerializable
- See Also:
- API specification
-
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
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_sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forVariableWidthHistogramAggregation
-
-
Method Details
-
of
public static VariableWidthHistogramAggregation of(java.util.function.Function<VariableWidthHistogramAggregation.Builder,ObjectBuilder<VariableWidthHistogramAggregation>> fn) -
_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
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupVariableWidthHistogramAggregationDeserializer
protected static void setupVariableWidthHistogramAggregationDeserializer(ObjectDeserializer<VariableWidthHistogramAggregation.Builder> op)
-