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 Details

    • 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 Details

    • values

      public static ExecEdge.Shuffle.Type[] 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

      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 name
      NullPointerException - if the argument is null