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
Enumeration which describes the shuffle type for records when passing this edge.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAny type of shuffle is OK when passing through this edge.Full records are provided for each parallelism of the target node.Records are shuffled in same parallelism (the shuffle behavior is function call).Records are shuffled by hash when passing through this edge.Records are shuffled to one node, the parallelism of the target node must be 1. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecEdge.Shuffle.TypeReturns 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 Details
-
ANY
Any type of shuffle is OK when passing through this edge. -
HASH
Records are shuffled by hash when passing through this edge. -
BROADCAST
Full records are provided for each parallelism of the target node. -
SINGLETON
Records are shuffled to one node, the parallelism of the target node must be 1. -
FORWARD
Records are shuffled in same parallelism (the shuffle behavior is function call).
-
-
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
-