Enum ExecEdge.Shuffle.Type
- java.lang.Object
-
- java.lang.Enum<ExecEdge.Shuffle.Type>
-
- org.apache.flink.table.planner.plan.nodes.exec.ExecEdge.Shuffle.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ExecEdge.Shuffle.Type>
- Enclosing class:
- ExecEdge.Shuffle
public static enum ExecEdge.Shuffle.Type extends Enum<ExecEdge.Shuffle.Type>
Enumeration which describes the shuffle type for records when passing this edge.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
Any type of shuffle is OK when passing through this edge.BROADCAST
Full records are provided for each parallelism of the target node.FORWARD
Records are shuffled in same parallelism (the shuffle behavior is function call).HASH
Records are shuffled by hash when passing through this edge.SINGLETON
Records are shuffled to one node, the parallelism of the target node must be 1.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecEdge.Shuffle.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExecEdge.Shuffle.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final ExecEdge.Shuffle.Type ANY
Any type of shuffle is OK when passing through this edge.
-
HASH
public static final ExecEdge.Shuffle.Type HASH
Records are shuffled by hash when passing through this edge.
-
BROADCAST
public static final ExecEdge.Shuffle.Type BROADCAST
Full records are provided for each parallelism of the target node.
-
SINGLETON
public static final ExecEdge.Shuffle.Type SINGLETON
Records are shuffled to one node, the parallelism of the target node must be 1.
-
FORWARD
public static final ExecEdge.Shuffle.Type FORWARD
Records are shuffled in same parallelism (the shuffle behavior is function call).
-
-
Method Detail
-
values
public static ExecEdge.Shuffle.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 (ExecEdge.Shuffle.Type c : ExecEdge.Shuffle.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 ExecEdge.Shuffle.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
-
-