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
Enumeration which describes the type of the input data distribution.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe input will accept any data distribution.The input will read all records for each parallelism of the target node.The input will read the records whose keys hash to a particular hash value.A special distribution type which indicators the data distribution is the same as its input.The input will read all records, and the parallelism of the target node must be 1.Unknown distribution type, will be filled out in the future. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static InputProperty.DistributionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ANY
The input will accept any data distribution. -
HASH
The input will read the records whose keys hash to a particular hash value. A given record appears on exactly one parallelism. -
BROADCAST
The input will read all records for each parallelism of the target node. All records appear in each parallelism. -
SINGLETON
The input will read all records, and the parallelism of the target node must be 1. -
KEEP_INPUT_AS_IS
A special distribution type which indicators the data distribution is the same as its input. -
UNKNOWN
Unknown distribution type, will be filled out in the future.
-
-
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
-