Class AutoDateHistogramAggregate
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
co.elastic.clients.elasticsearch._types.aggregations.MultiBucketAggregateBase<DateHistogramBucket>
co.elastic.clients.elasticsearch._types.aggregations.AutoDateHistogramAggregate
- All Implemented Interfaces:
AggregateVariant
,JsonpSerializable
@JsonpDeserializable public class AutoDateHistogramAggregate extends MultiBucketAggregateBase<DateHistogramBucket> implements AggregateVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AutoDateHistogramAggregate.Builder
Builder forAutoDateHistogramAggregate
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.MultiBucketAggregateBase
MultiBucketAggregateBase.AbstractBuilder<TBucket,BuilderT extends MultiBucketAggregateBase.AbstractBuilder<TBucket,BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AutoDateHistogramAggregate>
_DESERIALIZER
Json deserializer forAutoDateHistogramAggregate
-
Method Summary
Modifier and Type Method Description Aggregate.Kind
_aggregateKind()
Aggregate variant kind.DateTime
interval()
Required - API name:interval
static AutoDateHistogramAggregate
of(java.util.function.Function<AutoDateHistogramAggregate.Builder,ObjectBuilder<AutoDateHistogramAggregate>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupAutoDateHistogramAggregateDeserializer(ObjectDeserializer<AutoDateHistogramAggregate.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MultiBucketAggregateBase
buckets, setupMultiBucketAggregateBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer, 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.AggregateVariant
_toAggregate
-
Field Details
-
_DESERIALIZER
Json deserializer forAutoDateHistogramAggregate
-
-
Method Details
-
of
public static AutoDateHistogramAggregate of(java.util.function.Function<AutoDateHistogramAggregate.Builder,ObjectBuilder<AutoDateHistogramAggregate>> fn) -
_aggregateKind
Aggregate variant kind.- Specified by:
_aggregateKind
in interfaceAggregateVariant
-
interval
Required - API name:interval
-
serializeInternal
- Overrides:
serializeInternal
in classMultiBucketAggregateBase<DateHistogramBucket>
-
setupAutoDateHistogramAggregateDeserializer
protected static void setupAutoDateHistogramAggregateDeserializer(ObjectDeserializer<AutoDateHistogramAggregate.Builder> op)
-