Enum Class TermsAggregationCollectMode
java.lang.Object
java.lang.Enum<TermsAggregationCollectMode>
co.elastic.clients.elasticsearch._types.aggregations.TermsAggregationCollectMode
- All Implemented Interfaces:
JsonEnum
,JsonpSerializable
,Serializable
,Comparable<TermsAggregationCollectMode>
,Constable
@JsonpDeserializable
public enum TermsAggregationCollectMode
extends Enum<TermsAggregationCollectMode>
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 ConstantDescriptionCaches the set of documents that fall into the uppermost buckets for subsequent replay.Expands all branches of the aggregation tree in one depth-first pass, before any pruning occurs. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TermsAggregationCollectMode
Returns the enum constant of this class with the specified name.static TermsAggregationCollectMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DepthFirst
Expands all branches of the aggregation tree in one depth-first pass, before any pruning occurs. -
BreadthFirst
Caches the set of documents that fall into the uppermost buckets for subsequent replay.
-
-
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
-