Package io.prestosql.operator
Enum HashBuilderOperator.State
- java.lang.Object
-
- java.lang.Enum<HashBuilderOperator.State>
-
- io.prestosql.operator.HashBuilderOperator.State
-
- All Implemented Interfaces:
Serializable
,Comparable<HashBuilderOperator.State>
- Enclosing class:
- HashBuilderOperator
public static enum HashBuilderOperator.State extends Enum<HashBuilderOperator.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSED
No longer neededCONSUMING_INPUT
Operator accepts inputINPUT_SPILLED
Input has been finished and spilledINPUT_UNSPILLED_AND_BUILT
Spilled input has been unspilled, LookupSource built from itINPUT_UNSPILLING
Spilled input is being unspilledLOOKUP_SOURCE_BUILT
LookupSource has been built and passed on without any spill occurringSPILLING_INPUT
Memory revoking occurred duringCONSUMING_INPUT
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HashBuilderOperator.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static HashBuilderOperator.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSUMING_INPUT
public static final HashBuilderOperator.State CONSUMING_INPUT
Operator accepts input
-
SPILLING_INPUT
public static final HashBuilderOperator.State SPILLING_INPUT
Memory revoking occurred duringCONSUMING_INPUT
. Operator accepts input and spills it
-
LOOKUP_SOURCE_BUILT
public static final HashBuilderOperator.State LOOKUP_SOURCE_BUILT
LookupSource has been built and passed on without any spill occurring
-
INPUT_SPILLED
public static final HashBuilderOperator.State INPUT_SPILLED
Input has been finished and spilled
-
INPUT_UNSPILLING
public static final HashBuilderOperator.State INPUT_UNSPILLING
Spilled input is being unspilled
-
INPUT_UNSPILLED_AND_BUILT
public static final HashBuilderOperator.State INPUT_UNSPILLED_AND_BUILT
Spilled input has been unspilled, LookupSource built from it
-
CLOSED
public static final HashBuilderOperator.State CLOSED
No longer needed
-
-
Method Detail
-
values
public static HashBuilderOperator.State[] 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 (HashBuilderOperator.State c : HashBuilderOperator.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HashBuilderOperator.State 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
-
-