Class DateRangeAggregate
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
co.elastic.clients.elasticsearch._types.aggregations.MultiBucketAggregateBase<RangeBucket>
co.elastic.clients.elasticsearch._types.aggregations.RangeAggregate
co.elastic.clients.elasticsearch._types.aggregations.DateRangeAggregate
- All Implemented Interfaces:
AggregateVariant
,JsonpSerializable
@JsonpDeserializable
public class DateRangeAggregate
extends RangeAggregate
implements AggregateVariant
Result of a
date_range
aggregation. Same format as a for a
range
aggregation: from
and to
in
buckets
are milliseconds since the Epoch, represented as a
floating point number.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.RangeAggregate
RangeAggregate.AbstractBuilder<BuilderT extends RangeAggregate.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DateRangeAggregate>
Json deserializer forDateRangeAggregate
-
Method Summary
Modifier and TypeMethodDescriptionAggregate variant kind.static DateRangeAggregate
protected static void
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.RangeAggregate
rangeAggregateOf, setupRangeAggregateDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MultiBucketAggregateBase
buckets, serializeInternal, 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 forDateRangeAggregate
-
-
Method Details
-
of
public static DateRangeAggregate of(Function<DateRangeAggregate.Builder, ObjectBuilder<DateRangeAggregate>> fn) -
_aggregateKind
Aggregate variant kind.- Specified by:
_aggregateKind
in interfaceAggregateVariant
- Overrides:
_aggregateKind
in classRangeAggregate
-
setupDateRangeAggregateDeserializer
protected static void setupDateRangeAggregateDeserializer(ObjectDeserializer<DateRangeAggregate.Builder> op)
-