Enum InputProperty.DistributionType

java.lang.Object
java.lang.Enum<InputProperty.DistributionType>
org.apache.flink.table.planner.plan.nodes.exec.InputProperty.DistributionType
All Implemented Interfaces:
Serializable, Comparable<InputProperty.DistributionType>
Enclosing class:
InputProperty

public static enum InputProperty.DistributionType extends Enum<InputProperty.DistributionType>
Enumeration which describes the type of the input data distribution.
  • Enum Constant Details

    • ANY

      public static final InputProperty.DistributionType ANY
      The input will accept any data distribution.
    • HASH

      public static final InputProperty.DistributionType HASH
      The input will read the records whose keys hash to a particular hash value. A given record appears on exactly one parallelism.
    • BROADCAST

      public static final InputProperty.DistributionType BROADCAST
      The input will read all records for each parallelism of the target node. All records appear in each parallelism.
    • SINGLETON

      public static final InputProperty.DistributionType SINGLETON
      The input will read all records, and the parallelism of the target node must be 1.
    • KEEP_INPUT_AS_IS

      public static final InputProperty.DistributionType KEEP_INPUT_AS_IS
      A special distribution type which indicators the data distribution is the same as its input.
    • UNKNOWN

      public static final InputProperty.DistributionType UNKNOWN
      Unknown distribution type, will be filled out in the future.
  • Method Details

    • values

      public static InputProperty.DistributionType[] 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 InputProperty.DistributionType 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