Class DateHistogramBucket
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.MultiBucketBase
-
- org.opensearch.client.opensearch._types.aggregations.DateHistogramBucket
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class DateHistogramBucket extends MultiBucketBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DateHistogramBucket.Builder
Builder forDateHistogramBucket
.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketBase
MultiBucketBase.AbstractBuilder<BuilderT extends MultiBucketBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DateHistogramBucket>
_DESERIALIZER
Json deserializer forDateHistogramBucket
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
key()
Required - API name:key
java.lang.String
keyAsString()
API name:key_as_string
static DateHistogramBucket
of(java.util.function.Function<DateHistogramBucket.Builder,ObjectBuilder<DateHistogramBucket>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupDateHistogramBucketDeserializer(ObjectDeserializer<DateHistogramBucket.Builder> op)
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketBase
aggregations, docCount, serialize, setupMultiBucketBaseDeserializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<DateHistogramBucket> _DESERIALIZER
Json deserializer forDateHistogramBucket
-
-
Method Detail
-
of
public static DateHistogramBucket of(java.util.function.Function<DateHistogramBucket.Builder,ObjectBuilder<DateHistogramBucket>> fn)
-
keyAsString
@Nullable public final java.lang.String keyAsString()
API name:key_as_string
-
key
public final java.lang.String key()
Required - API name:key
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classMultiBucketBase
-
setupDateHistogramBucketDeserializer
protected static void setupDateHistogramBucketDeserializer(ObjectDeserializer<DateHistogramBucket.Builder> op)
-
-