Class LongTermsAggregate
- 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<LongTermsBucket>
-
- org.opensearch.client.opensearch._types.aggregations.LongTermsAggregate
-
- All Implemented Interfaces:
JsonpSerializable,AggregateVariant
@JsonpDeserializable public class LongTermsAggregate extends TermsAggregateBase<LongTermsBucket> implements AggregateVariant
Result of atermsaggregation when the field is some kind of whole number like a integer, long, or a date.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLongTermsAggregate.BuilderBuilder forLongTermsAggregate.-
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<LongTermsAggregate>_DESERIALIZERJson deserializer forLongTermsAggregate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregate.Kind_aggregateKind()Aggregate variant kind.static LongTermsAggregateof(java.util.function.Function<LongTermsAggregate.Builder,ObjectBuilder<LongTermsAggregate>> fn)protected static voidsetupLongTermsAggregateDeserializer(ObjectDeserializer<LongTermsAggregate.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<LongTermsAggregate> _DESERIALIZER
Json deserializer forLongTermsAggregate
-
-
Method Detail
-
of
public static LongTermsAggregate of(java.util.function.Function<LongTermsAggregate.Builder,ObjectBuilder<LongTermsAggregate>> fn)
-
_aggregateKind
public Aggregate.Kind _aggregateKind()
Aggregate variant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
setupLongTermsAggregateDeserializer
protected static void setupLongTermsAggregateDeserializer(ObjectDeserializer<LongTermsAggregate.Builder> op)
-
-