Class DateHistogramAggregate
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregateBase
org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase<DateHistogramBucket>
org.opensearch.client.opensearch._types.aggregations.DateHistogramAggregate
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregateVariant,ToCopyableBuilder<DateHistogramAggregate.Builder,DateHistogramAggregate>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class DateHistogramAggregate
extends MultiBucketAggregateBase<DateHistogramBucket>
implements AggregateVariant, ToCopyableBuilder<DateHistogramAggregate.Builder,DateHistogramAggregate>
-
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<DateHistogramAggregate> Json deserializer forDateHistogramAggregate -
Method Summary
Modifier and TypeMethodDescriptionAggregatevariant kind.builder()booleaninthashCode()static DateHistogramAggregateprotected 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 forDateHistogramAggregate
-
-
Method Details
-
of
public static DateHistogramAggregate of(Function<DateHistogramAggregate.Builder, ObjectBuilder<DateHistogramAggregate>> 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<DateHistogramAggregate.Builder,DateHistogramAggregate> - Returns:
- a new builder instance.
-
builder
-
setupDateHistogramAggregateDeserializer
protected static void setupDateHistogramAggregateDeserializer(ObjectDeserializer<DateHistogramAggregate.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classMultiBucketAggregateBase<DateHistogramBucket>
-
equals
- Overrides:
equalsin classMultiBucketAggregateBase<DateHistogramBucket>
-