Class AutoDateHistogramAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.AutoDateHistogramAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable
public class AutoDateHistogramAggregation
extends BucketAggregationBase
implements AggregationVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
BucketAggregationBase.AbstractBuilder<BuilderT extends BucketAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AutoDateHistogramAggregation>Json deserializer forAutoDateHistogramAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.final Integerbuckets()The target number of buckets.final Stringfield()The field on which to run the aggregation.final Stringformat()The date format used to formatkey_as_stringin the response.final MinimumIntervalThe minimum rounding interval.final DateTimemissing()The value to apply to documents that do not have a value.static AutoDateHistogramAggregationfinal Stringoffset()Time zone specified as a ISO 8601 UTC offset.params()API name:paramsfinal Scriptscript()API name:scriptprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupAutoDateHistogramAggregationDeserializer(ObjectDeserializer<AutoDateHistogramAggregation.Builder> op) final StringtimeZone()Time zone ID.Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forAutoDateHistogramAggregation
-
-
Method Details
-
of
-
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
buckets
The target number of buckets.API name:
buckets -
field
The field on which to run the aggregation.API name:
field -
format
The date format used to formatkey_as_stringin the response. If noformatis specified, the first date format specified in the field mapping is used.API name:
format -
minimumInterval
The minimum rounding interval. This can make the collection process more efficient, as the aggregation will not attempt to round at any interval lower thanminimum_interval.API name:
minimum_interval -
missing
The value to apply to documents that do not have a value. By default, documents without a value are ignored.API name:
missing -
offset
Time zone specified as a ISO 8601 UTC offset.API name:
offset -
params
API name:params -
script
API name:script -
timeZone
Time zone ID.API name:
time_zone -
serializeInternal
- Overrides:
serializeInternalin classAggregationBase
-
setupAutoDateHistogramAggregationDeserializer
protected static void setupAutoDateHistogramAggregationDeserializer(ObjectDeserializer<AutoDateHistogramAggregation.Builder> op)
-