Class HistogramAggregate
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregateBase
org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase<HistogramBucket>
org.opensearch.client.opensearch._types.aggregations.HistogramAggregate
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregateVariant,ToCopyableBuilder<HistogramAggregate.Builder,HistogramAggregate>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class HistogramAggregate
extends MultiBucketAggregateBase<HistogramBucket>
implements AggregateVariant, ToCopyableBuilder<HistogramAggregate.Builder,HistogramAggregate>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase
MultiBucketAggregateBase.AbstractBuilder<TBucket,BuilderT extends MultiBucketAggregateBase.AbstractBuilder<TBucket, BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<HistogramAggregate> Json deserializer forHistogramAggregate -
Method Summary
Modifier and TypeMethodDescriptionAggregatevariant kind.static HistogramAggregate.Builderbuilder()booleaninthashCode()static HistogramAggregateprotected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase
buckets, serializeInternal, setupMultiBucketAggregateBaseDeserializerMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregateVariant
toAggregateMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forHistogramAggregate
-
-
Method Details
-
of
public static HistogramAggregate of(Function<HistogramAggregate.Builder, ObjectBuilder<HistogramAggregate>> fn) -
_aggregateKind
Aggregatevariant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<HistogramAggregate.Builder,HistogramAggregate> - Returns:
- a new builder instance.
-
builder
-
setupHistogramAggregateDeserializer
protected static void setupHistogramAggregateDeserializer(ObjectDeserializer<HistogramAggregate.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classMultiBucketAggregateBase<HistogramBucket>
-
equals
- Overrides:
equalsin classMultiBucketAggregateBase<HistogramBucket>
-