Class VariableWidthHistogramAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.VariableWidthHistogramAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable,UnionVariant
@JsonpDeserializable public final 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 -
Constructor Summary
Constructors Constructor Description VariableWidthHistogramAggregation(VariableWidthHistogramAggregation.Builder builder)VariableWidthHistogramAggregation(java.util.function.Function<VariableWidthHistogramAggregation.Builder,VariableWidthHistogramAggregation.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.String_variantType()Aggregationvariant typejava.lang.Integerbuckets()API name:bucketsjava.lang.Stringfield()API name:fieldjava.lang.IntegerinitialBuffer()API name:initial_buffervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupVariableWidthHistogramAggregationDeserializer(DelegatingDeserializer<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
-
-
Constructor Details
-
VariableWidthHistogramAggregation
-
VariableWidthHistogramAggregation
public VariableWidthHistogramAggregation(java.util.function.Function<VariableWidthHistogramAggregation.Builder,VariableWidthHistogramAggregation.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Aggregationvariant type- Specified by:
_variantTypein interfaceUnionVariant
-
field
@Nullable public java.lang.String field()API name:field -
buckets
@Nullable public java.lang.Integer buckets()API name:buckets -
shardSize
@Nullable public java.lang.Integer shardSize()API name:shard_size -
initialBuffer
@Nullable public java.lang.Integer initialBuffer()API name:initial_buffer -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupVariableWidthHistogramAggregationDeserializer
protected static void setupVariableWidthHistogramAggregationDeserializer(DelegatingDeserializer<VariableWidthHistogramAggregation.Builder> op)
-