Class ValueCountAggregate
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.AggregateBase
-
- org.opensearch.client.opensearch._types.aggregations.SingleMetricAggregateBase
-
- org.opensearch.client.opensearch._types.aggregations.ValueCountAggregate
-
- All Implemented Interfaces:
JsonpSerializable,AggregateVariant
@JsonpDeserializable public class ValueCountAggregate extends SingleMetricAggregateBase implements AggregateVariant
Value count aggregation result.valueis always present.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValueCountAggregate.BuilderBuilder forValueCountAggregate.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.SingleMetricAggregateBase
SingleMetricAggregateBase.AbstractBuilder<BuilderT extends SingleMetricAggregateBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ValueCountAggregate>_DESERIALIZERJson deserializer forValueCountAggregate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregate.Kind_aggregateKind()Aggregate variant kind.static ValueCountAggregateof(java.util.function.Function<ValueCountAggregate.Builder,ObjectBuilder<ValueCountAggregate>> fn)protected static voidsetupValueCountAggregateDeserializer(ObjectDeserializer<ValueCountAggregate.Builder> op)-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.SingleMetricAggregateBase
serializeInternal, setupSingleMetricAggregateBaseDeserializer, value, valueAsString
-
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<ValueCountAggregate> _DESERIALIZER
Json deserializer forValueCountAggregate
-
-
Method Detail
-
of
public static ValueCountAggregate of(java.util.function.Function<ValueCountAggregate.Builder,ObjectBuilder<ValueCountAggregate>> fn)
-
_aggregateKind
public Aggregate.Kind _aggregateKind()
Aggregate variant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
setupValueCountAggregateDeserializer
protected static void setupValueCountAggregateDeserializer(ObjectDeserializer<ValueCountAggregate.Builder> op)
-
-