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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<VariableWidthHistogramAggregation>Json deserializer forVariableWidthHistogramAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.final Integerbuckets()The target number of buckets.final Stringfield()The name of the field.final IntegerSpecifies 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) final Scriptscript()API name:scriptvoidserialize(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) final IntegerThe 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, waitMethods 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:
_aggregationKindin 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 -
script
API name:script -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupVariableWidthHistogramAggregationDeserializer
protected static void setupVariableWidthHistogramAggregationDeserializer(ObjectDeserializer<VariableWidthHistogramAggregation.Builder> op)
-