Class VariableWidthHistogramAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.VariableWidthHistogramAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<VariableWidthHistogramAggregation.Builder,VariableWidthHistogramAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class VariableWidthHistogramAggregation
extends Object
implements AggregationVariant, PlainJsonSerializable, ToCopyableBuilder<VariableWidthHistogramAggregation.Builder,VariableWidthHistogramAggregation>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<VariableWidthHistogramAggregation> Json deserializer forVariableWidthHistogramAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregationvariant kind.final Integerbuckets()The target number of buckets.builder()booleanfinal Stringfield()API name:fieldinthashCode()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) 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) final IntegerThe number of buckets that the coordinating node will request from each shard.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
toAggregationMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forVariableWidthHistogramAggregation
-
-
Method Details
-
of
-
_aggregationKind
Aggregationvariant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
buckets
The target number of buckets.API name:
buckets -
field
API name:field -
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 -
shardSize
The number of buckets that the coordinating node will request from each shard. Defaults tobuckets * 50.API name:
shard_size -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<VariableWidthHistogramAggregation.Builder,VariableWidthHistogramAggregation> - Returns:
- a new builder instance.
-
builder
-
setupVariableWidthHistogramAggregationDeserializer
protected static void setupVariableWidthHistogramAggregationDeserializer(ObjectDeserializer<VariableWidthHistogramAggregation.Builder> op) -
hashCode
public int hashCode() -
equals
-