Class LongRareTermsBucket
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.MultiBucketBase
-
- org.opensearch.client.opensearch._types.aggregations.LongRareTermsBucket
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class LongRareTermsBucket extends MultiBucketBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LongRareTermsBucket.Builder
Builder forLongRareTermsBucket
.-
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<LongRareTermsBucket>
_DESERIALIZER
Json deserializer forLongRareTermsBucket
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
key()
Required - API name:key
java.lang.String
keyAsString()
API name:key_as_string
static LongRareTermsBucket
of(java.util.function.Function<LongRareTermsBucket.Builder,ObjectBuilder<LongRareTermsBucket>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupLongRareTermsBucketDeserializer(ObjectDeserializer<LongRareTermsBucket.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<LongRareTermsBucket> _DESERIALIZER
Json deserializer forLongRareTermsBucket
-
-
Method Detail
-
of
public static LongRareTermsBucket of(java.util.function.Function<LongRareTermsBucket.Builder,ObjectBuilder<LongRareTermsBucket>> fn)
-
key
public final long key()
Required - API name:key
-
keyAsString
@Nullable public final java.lang.String keyAsString()
API name:key_as_string
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classMultiBucketBase
-
setupLongRareTermsBucketDeserializer
protected static void setupLongRareTermsBucketDeserializer(ObjectDeserializer<LongRareTermsBucket.Builder> op)
-
-