Class StringTermsBucket
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.MultiBucketBase
-
- org.opensearch.client.opensearch._types.aggregations.TermsBucketBase
-
- org.opensearch.client.opensearch._types.aggregations.StringTermsBucket
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class StringTermsBucket extends TermsBucketBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringTermsBucket.Builder
Builder forStringTermsBucket
.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.TermsBucketBase
TermsBucketBase.AbstractBuilder<BuilderT extends TermsBucketBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<StringTermsBucket>
_DESERIALIZER
Json deserializer forStringTermsBucket
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
key()
Required - API name:key
static StringTermsBucket
of(java.util.function.Function<StringTermsBucket.Builder,ObjectBuilder<StringTermsBucket>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupStringTermsBucketDeserializer(ObjectDeserializer<StringTermsBucket.Builder> op)
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.TermsBucketBase
docCountError, setupTermsBucketBaseDeserializer
-
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<StringTermsBucket> _DESERIALIZER
Json deserializer forStringTermsBucket
-
-
Method Detail
-
of
public static StringTermsBucket of(java.util.function.Function<StringTermsBucket.Builder,ObjectBuilder<StringTermsBucket>> fn)
-
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 classTermsBucketBase
-
setupStringTermsBucketDeserializer
protected static void setupStringTermsBucketDeserializer(ObjectDeserializer<StringTermsBucket.Builder> op)
-
-