Enum RowKeyJoin.RowKeyJoinState
java.lang.Object
java.lang.Enum<RowKeyJoin.RowKeyJoinState>
org.apache.drill.exec.physical.impl.join.RowKeyJoin.RowKeyJoinState
- All Implemented Interfaces:
Serializable
,Comparable<RowKeyJoin.RowKeyJoinState>
- Enclosing interface:
- RowKeyJoin
Enum for RowKeyJoin internal state.
Possible states are {INITIAL, PROCESSING, DONE}
Initially RowKeyJoin will be at INITIAL state. Then the state will be transitioned
by the RestrictedJsonRecordReader to PROCESSING as soon as it processes the rows
related to RowKeys. Then RowKeyJoin algorithm sets to INITIAL state when leftStream has no data.
Basically RowKeyJoin calls leftStream multiple times depending upon the rightStream, hence
this transition from PROCESSING to INITIAL. If there is no data from rightStream or OutOfMemory
condition then the state is transitioned to DONE.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RowKeyJoin.RowKeyJoinState
Returns the enum constant of this type with the specified name.static RowKeyJoin.RowKeyJoinState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INITIAL
-
PROCESSING
-
DONE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-