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 class
ValueCountAggregate.Builder
Builder 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>
_DESERIALIZER
Json deserializer forValueCountAggregate
-
Method Summary
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 co.elastic.clients.elasticsearch._types.aggregations.SingleMetricAggregateBase
serializeInternal, setupSingleMetricAggregateBaseDeserializer, value, valueAsString
Methods inherited from class co.elastic.clients.elasticsearch._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 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:
_aggregateKind
in interfaceAggregateVariant
-
setupValueCountAggregateDeserializer
protected static void setupValueCountAggregateDeserializer(ObjectDeserializer<ValueCountAggregate.Builder> op)
-