Class CardinalityAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
org.opensearch.client.opensearch._types.aggregations.CardinalityAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<CardinalityAggregation.Builder,CardinalityAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CardinalityAggregation
extends MetricAggregationBase
implements AggregationVariant, ToCopyableBuilder<CardinalityAggregation.Builder,CardinalityAggregation>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._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 TypeMethodDescriptionAggregationvariant kind.builder()booleanfinal CardinalityExecutionModeAPI name:execution_hintinthashCode()static CardinalityAggregationfinal IntegerA unique count below which counts are expected to be close to accurate.final Booleanrehash()API name:rehashprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
toAggregationMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forCardinalityAggregation
-
-
Method Details
-
of
public static CardinalityAggregation of(Function<CardinalityAggregation.Builder, ObjectBuilder<CardinalityAggregation>> fn) -
_aggregationKind
Aggregationvariant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
executionHint
API name:execution_hint -
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 -
serializeInternal
- Overrides:
serializeInternalin classMetricAggregationBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CardinalityAggregation.Builder,CardinalityAggregation> - Returns:
- a new builder instance.
-
builder
-
setupCardinalityAggregationDeserializer
protected static void setupCardinalityAggregationDeserializer(ObjectDeserializer<CardinalityAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classMetricAggregationBase
-
equals
- Overrides:
equalsin classMetricAggregationBase
-