Class VariableWidthHistogramAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.VariableWidthHistogramAggregation
- All Implemented Interfaces:
AggregationVariant
,JsonpSerializable
@JsonpDeserializable
public class VariableWidthHistogramAggregation
extends Object
implements AggregationVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<VariableWidthHistogramAggregation>
Json deserializer forVariableWidthHistogramAggregation
-
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.final Integer
buckets()
The target number of buckets.final String
field()
The name of the field.final Integer
Specifies the number of individual documents that will be stored in memory on a shard before the initial bucketing algorithm is run.of
(Function<VariableWidthHistogramAggregation.Builder, ObjectBuilder<VariableWidthHistogramAggregation>> fn) void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupVariableWidthHistogramAggregationDeserializer
(ObjectDeserializer<VariableWidthHistogramAggregation.Builder> op) final Integer
The number of buckets that the coordinating node will request from each shard.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forVariableWidthHistogramAggregation
-
-
Method Details
-
of
-
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKind
in interfaceAggregationVariant
-
field
The name of the field.API name:
field
-
buckets
The target number of buckets.API name:
buckets
-
shardSize
The number of buckets that the coordinating node will request from each shard. Defaults tobuckets * 50
.API name:
shard_size
-
initialBuffer
Specifies the number of individual documents that will be stored in memory on a shard before the initial bucketing algorithm is run. Defaults tomin(10 * shard_size, 50000)
.API name:
initial_buffer
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupVariableWidthHistogramAggregationDeserializer
protected static void setupVariableWidthHistogramAggregationDeserializer(ObjectDeserializer<VariableWidthHistogramAggregation.Builder> op)
-