Package io.prestosql.sql.planner.plan
Enum AggregationNode.Step
- java.lang.Object
-
- java.lang.Enum<AggregationNode.Step>
-
- io.prestosql.sql.planner.plan.AggregationNode.Step
-
- All Implemented Interfaces:
Serializable
,Comparable<AggregationNode.Step>
- Enclosing class:
- AggregationNode
public static enum AggregationNode.Step extends Enum<AggregationNode.Step>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FINAL
INTERMEDIATE
PARTIAL
SINGLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInputRaw()
boolean
isOutputPartial()
static AggregationNode.Step
partialInput(AggregationNode.Step step)
static AggregationNode.Step
partialOutput(AggregationNode.Step step)
static AggregationNode.Step
valueOf(String name)
Returns the enum constant of this type with the specified name.static AggregationNode.Step[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARTIAL
public static final AggregationNode.Step PARTIAL
-
FINAL
public static final AggregationNode.Step FINAL
-
INTERMEDIATE
public static final AggregationNode.Step INTERMEDIATE
-
SINGLE
public static final AggregationNode.Step SINGLE
-
-
Method Detail
-
values
public static AggregationNode.Step[] 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 (AggregationNode.Step c : AggregationNode.Step.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregationNode.Step 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
-
isInputRaw
public boolean isInputRaw()
-
isOutputPartial
public boolean isOutputPartial()
-
partialOutput
public static AggregationNode.Step partialOutput(AggregationNode.Step step)
-
partialInput
public static AggregationNode.Step partialInput(AggregationNode.Step step)
-
-