Class ValueCountAggregate
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
co.elastic.clients.elasticsearch._types.aggregations.SingleMetricAggregateBase
co.elastic.clients.elasticsearch._types.aggregations.ValueCountAggregate
- All Implemented Interfaces:
AggregateVariant,JsonpSerializable
@JsonpDeserializable public class ValueCountAggregate extends SingleMetricAggregateBase implements AggregateVariant
Value count aggregation result.
value is always present.- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValueCountAggregate.BuilderBuilder forValueCountAggregate.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._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
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 co.elastic.clients.elasticsearch._types.aggregations.SingleMetricAggregateBase
serializeInternal, setupSingleMetricAggregateBaseDeserializer, value, valueAsStringMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregateVariant
_toAggregate
-
Field Details
-
_DESERIALIZER
Json deserializer forValueCountAggregate
-
-
Method Details
-
of
public static ValueCountAggregate of(java.util.function.Function<ValueCountAggregate.Builder,ObjectBuilder<ValueCountAggregate>> fn) -
_aggregateKind
Aggregate variant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
setupValueCountAggregateDeserializer
protected static void setupValueCountAggregateDeserializer(ObjectDeserializer<ValueCountAggregate.Builder> op)
-