Class CardinalityAggregate
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.AggregateBase
-
- org.opensearch.client.opensearch._types.aggregations.CardinalityAggregate
-
- All Implemented Interfaces:
JsonpSerializable,AggregateVariant
@JsonpDeserializable public class CardinalityAggregate extends AggregateBase implements AggregateVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardinalityAggregate.BuilderBuilder forCardinalityAggregate.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase
AggregateBase.AbstractBuilder<BuilderT extends AggregateBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CardinalityAggregate>_DESERIALIZERJson deserializer forCardinalityAggregate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregate.Kind_aggregateKind()Aggregate variant kind.static CardinalityAggregateof(java.util.function.Function<CardinalityAggregate.Builder,ObjectBuilder<CardinalityAggregate>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupCardinalityAggregateDeserializer(ObjectDeserializer<CardinalityAggregate.Builder> op)longvalue()Required - API name:value-
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<CardinalityAggregate> _DESERIALIZER
Json deserializer forCardinalityAggregate
-
-
Method Detail
-
of
public static CardinalityAggregate of(java.util.function.Function<CardinalityAggregate.Builder,ObjectBuilder<CardinalityAggregate>> fn)
-
_aggregateKind
public Aggregate.Kind _aggregateKind()
Aggregate variant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
value
public final long value()
Required - API name:value
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classAggregateBase
-
setupCardinalityAggregateDeserializer
protected static void setupCardinalityAggregateDeserializer(ObjectDeserializer<CardinalityAggregate.Builder> op)
-
-