Class CumulativeCardinalityAggregate
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.AggregateBase
-
- org.opensearch.client.opensearch._types.aggregations.CumulativeCardinalityAggregate
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
,AggregateVariant
@JsonpDeserializable public class CumulativeCardinalityAggregate extends AggregateBase implements AggregateVariant
Result of thecumulative_cardinality
aggregation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CumulativeCardinalityAggregate.Builder
Builder forCumulativeCardinalityAggregate
.-
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<CumulativeCardinalityAggregate>
_DESERIALIZER
Json deserializer forCumulativeCardinalityAggregate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregate.Kind
_aggregateKind()
Aggregate variant kind.static CumulativeCardinalityAggregate
of(java.util.function.Function<CumulativeCardinalityAggregate.Builder,ObjectBuilder<CumulativeCardinalityAggregate>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupCumulativeCardinalityAggregateDeserializer(ObjectDeserializer<CumulativeCardinalityAggregate.Builder> op)
long
value()
Required - API name:value
java.lang.String
valueAsString()
API name:value_as_string
-
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
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<CumulativeCardinalityAggregate> _DESERIALIZER
Json deserializer forCumulativeCardinalityAggregate
-
-
Method Detail
-
of
public static CumulativeCardinalityAggregate of(java.util.function.Function<CumulativeCardinalityAggregate.Builder,ObjectBuilder<CumulativeCardinalityAggregate>> fn)
-
_aggregateKind
public Aggregate.Kind _aggregateKind()
Aggregate variant kind.- Specified by:
_aggregateKind
in interfaceAggregateVariant
-
value
public final long value()
Required - API name:value
-
valueAsString
@Nullable public final java.lang.String valueAsString()
API name:value_as_string
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classAggregateBase
-
setupCumulativeCardinalityAggregateDeserializer
protected static void setupCumulativeCardinalityAggregateDeserializer(ObjectDeserializer<CumulativeCardinalityAggregate.Builder> op)
-
-