Package io.prestosql.sql.planner.plan
Enum JoinNode.Type
- java.lang.Object
-
- java.lang.Enum<JoinNode.Type>
-
- io.prestosql.sql.planner.plan.JoinNode.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<JoinNode.Type>
- Enclosing class:
- JoinNode
public static enum JoinNode.Type extends Enum<JoinNode.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJoinLabel()
static JoinNode.Type
typeConvert(Join.Type joinType)
static JoinNode.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static JoinNode.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INNER
public static final JoinNode.Type INNER
-
LEFT
public static final JoinNode.Type LEFT
-
RIGHT
public static final JoinNode.Type RIGHT
-
FULL
public static final JoinNode.Type FULL
-
-
Method Detail
-
values
public static JoinNode.Type[] 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 (JoinNode.Type c : JoinNode.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JoinNode.Type 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
-
getJoinLabel
public String getJoinLabel()
-
typeConvert
public static JoinNode.Type typeConvert(Join.Type joinType)
-
-