Package io.trino.plugin.hive.util
Enum Statistics.ReduceOperator
- java.lang.Object
-
- java.lang.Enum<Statistics.ReduceOperator>
-
- io.trino.plugin.hive.util.Statistics.ReduceOperator
-
- All Implemented Interfaces:
Serializable,Comparable<Statistics.ReduceOperator>
- Enclosing class:
- Statistics
public static enum Statistics.ReduceOperator extends Enum<Statistics.ReduceOperator>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Statistics.ReduceOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static Statistics.ReduceOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final Statistics.ReduceOperator ADD
-
SUBTRACT
public static final Statistics.ReduceOperator SUBTRACT
-
MIN
public static final Statistics.ReduceOperator MIN
-
MAX
public static final Statistics.ReduceOperator MAX
-
-
Method Detail
-
values
public static Statistics.ReduceOperator[] 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 (Statistics.ReduceOperator c : Statistics.ReduceOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Statistics.ReduceOperator valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-