Class CardinalityAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.CardinalityAggregation
- All Implemented Interfaces:
AggregationVariant
,JsonpSerializable
@JsonpDeserializable
public class CardinalityAggregation
extends MetricAggregationBase
implements AggregationVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
MetricAggregationBase.AbstractBuilder<BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CardinalityAggregation>
Json deserializer forCardinalityAggregation
-
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.final CardinalityExecutionMode
Mechanism by which cardinality aggregations is run.static CardinalityAggregation
final Integer
A unique count below which counts are expected to be close to accurate.final Boolean
rehash()
API name:rehash
protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forCardinalityAggregation
-
-
Method Details
-
of
public static CardinalityAggregation of(Function<CardinalityAggregation.Builder, ObjectBuilder<CardinalityAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKind
in interfaceAggregationVariant
-
precisionThreshold
A unique count below which counts are expected to be close to accurate. This allows to trade memory for accuracy.API name:
precision_threshold
-
rehash
API name:rehash
-
executionHint
Mechanism by which cardinality aggregations is run.API name:
execution_hint
-
serializeInternal
- Overrides:
serializeInternal
in classMetricAggregationBase
-
setupCardinalityAggregationDeserializer
protected static void setupCardinalityAggregationDeserializer(ObjectDeserializer<CardinalityAggregation.Builder> op)
-