Enum Class CardinalityExecutionMode
java.lang.Object
java.lang.Enum<CardinalityExecutionMode>
co.elastic.clients.elasticsearch._types.aggregations.CardinalityExecutionMode
- All Implemented Interfaces:
JsonEnum
,JsonpSerializable
,Serializable
,Comparable<CardinalityExecutionMode>
,Constable
@JsonpDeserializable
public enum CardinalityExecutionMode
extends Enum<CardinalityExecutionMode>
implements JsonEnum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface co.elastic.clients.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum>
-
Enum Constant Summary
Enum ConstantDescriptionRun the aggregation by using field values directly.Run the aggregation by using global ordinals of the field and resolving those values after finishing a shard.Heuristic-based mode, default in Elasticsearch 8.3 and earlier.Heuristic-based mode, default in Elasticsearch 8.4 and later.Run the aggregation by using segment ordinal values and resolving those values after each segment. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CardinalityExecutionMode
Returns the enum constant of this class with the specified name.static CardinalityExecutionMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GlobalOrdinals
Run the aggregation by using global ordinals of the field and resolving those values after finishing a shard. -
SegmentOrdinals
Run the aggregation by using segment ordinal values and resolving those values after each segment. -
Direct
Run the aggregation by using field values directly. -
SaveMemoryHeuristic
Heuristic-based mode, default in Elasticsearch 8.3 and earlier. -
SaveTimeHeuristic
Heuristic-based mode, default in Elasticsearch 8.4 and later.
-
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
jsonValue
-