Class SignificantTermsBucketBase
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.MultiBucketBase
-
- org.opensearch.client.opensearch._types.aggregations.SignificantTermsBucketBase
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
- Direct Known Subclasses:
SignificantLongTermsBucket
,SignificantStringTermsBucket
public abstract class SignificantTermsBucketBase extends MultiBucketBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
SignificantTermsBucketBase.AbstractBuilder<BuilderT extends SignificantTermsBucketBase.AbstractBuilder<BuilderT>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
SignificantTermsBucketBase(SignificantTermsBucketBase.AbstractBuilder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
bgCount()
Required - API name:bg_count
double
score()
Required - API name:score
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static <BuilderT extends SignificantTermsBucketBase.AbstractBuilder<BuilderT>>
voidsetupSignificantTermsBucketBaseDeserializer(ObjectDeserializer<BuilderT> 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
-
-
-
-
Constructor Detail
-
SignificantTermsBucketBase
protected SignificantTermsBucketBase(SignificantTermsBucketBase.AbstractBuilder<?> builder)
-
-
Method Detail
-
score
public final double score()
Required - API name:score
-
bgCount
public final long bgCount()
Required - API name:bg_count
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classMultiBucketBase
-
setupSignificantTermsBucketBaseDeserializer
protected static <BuilderT extends SignificantTermsBucketBase.AbstractBuilder<BuilderT>> void setupSignificantTermsBucketBaseDeserializer(ObjectDeserializer<BuilderT> op)
-
-