Enum TermsAggregatorFactory.ExecutionMode
- java.lang.Object
-
- java.lang.Enum<TermsAggregatorFactory.ExecutionMode>
-
- org.elasticsearch.search.aggregations.bucket.terms.TermsAggregatorFactory.ExecutionMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TermsAggregatorFactory.ExecutionMode>
- Enclosing class:
- TermsAggregatorFactory
public static enum TermsAggregatorFactory.ExecutionMode extends java.lang.Enum<TermsAggregatorFactory.ExecutionMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GLOBAL_ORDINALS
MAP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TermsAggregatorFactory.ExecutionMode
fromString(java.lang.String value, DeprecationLogger deprecationLogger)
java.lang.String
toString()
static TermsAggregatorFactory.ExecutionMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TermsAggregatorFactory.ExecutionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAP
public static final TermsAggregatorFactory.ExecutionMode MAP
-
GLOBAL_ORDINALS
public static final TermsAggregatorFactory.ExecutionMode GLOBAL_ORDINALS
-
-
Method Detail
-
values
public static TermsAggregatorFactory.ExecutionMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TermsAggregatorFactory.ExecutionMode c : TermsAggregatorFactory.ExecutionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TermsAggregatorFactory.ExecutionMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static TermsAggregatorFactory.ExecutionMode fromString(java.lang.String value, DeprecationLogger deprecationLogger)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<TermsAggregatorFactory.ExecutionMode>
-
-