Class StringTermsAggregate
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.AggregateBase
-
- org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase<TBucket>
-
- org.opensearch.client.opensearch._types.aggregations.TermsAggregateBase<StringTermsBucket>
-
- org.opensearch.client.opensearch._types.aggregations.StringTermsAggregate
-
- All Implemented Interfaces:
JsonpSerializable,AggregateVariant
@JsonpDeserializable public class StringTermsAggregate extends TermsAggregateBase<StringTermsBucket> implements AggregateVariant
Result of atermsaggregation when the field is a string.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStringTermsAggregate.BuilderBuilder forStringTermsAggregate.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.TermsAggregateBase
TermsAggregateBase.AbstractBuilder<TBucket,BuilderT extends TermsAggregateBase.AbstractBuilder<TBucket,BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<StringTermsAggregate>_DESERIALIZERJson deserializer forStringTermsAggregate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregate.Kind_aggregateKind()Aggregate variant kind.static StringTermsAggregateof(java.util.function.Function<StringTermsAggregate.Builder,ObjectBuilder<StringTermsAggregate>> fn)protected static voidsetupStringTermsAggregateDeserializer(ObjectDeserializer<StringTermsAggregate.Builder> op)-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.TermsAggregateBase
docCountErrorUpperBound, serializeInternal, setupTermsAggregateBaseDeserializer, sumOtherDocCount
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase
buckets, setupMultiBucketAggregateBaseDeserializer
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer
-
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.opensearch._types.aggregations.AggregateVariant
_toAggregate
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<StringTermsAggregate> _DESERIALIZER
Json deserializer forStringTermsAggregate
-
-
Method Detail
-
of
public static StringTermsAggregate of(java.util.function.Function<StringTermsAggregate.Builder,ObjectBuilder<StringTermsAggregate>> fn)
-
_aggregateKind
public Aggregate.Kind _aggregateKind()
Aggregate variant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
setupStringTermsAggregateDeserializer
protected static void setupStringTermsAggregateDeserializer(ObjectDeserializer<StringTermsAggregate.Builder> op)
-
-