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
,PlainJsonSerializable
,AggregateVariant
@JsonpDeserializable public class ValueCountAggregate extends SingleMetricAggregateBase implements AggregateVariant
Value count aggregation result.value
is always present.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValueCountAggregate.Builder
Builder 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>
_DESERIALIZER
Json deserializer forValueCountAggregate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregate.Kind
_aggregateKind()
Aggregate variant kind.static ValueCountAggregate
of(java.util.function.Function<ValueCountAggregate.Builder,ObjectBuilder<ValueCountAggregate>> fn)
protected static void
setupValueCountAggregateDeserializer(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
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
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:
_aggregateKind
in interfaceAggregateVariant
-
setupValueCountAggregateDeserializer
protected static void setupValueCountAggregateDeserializer(ObjectDeserializer<ValueCountAggregate.Builder> op)
-
-