public static enum InputProperty.DistributionType extends Enum<InputProperty.DistributionType>
Enum Constant and Description |
---|
ANY
The input will accept any data distribution.
|
BROADCAST
The input will read all records for each parallelism of the target node.
|
HASH
The input will read the records whose keys hash to a particular hash value.
|
KEEP_INPUT_AS_IS
A special distribution type which indicators the data distribution is the same as its
input.
|
SINGLETON
The input will read all records, and the parallelism of the target node must be 1.
|
UNKNOWN
Unknown distribution type, will be filled out in the future.
|
Modifier and Type | Method and Description |
---|---|
static InputProperty.DistributionType |
valueOf(String name)
Returns 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.
|
public static final InputProperty.DistributionType ANY
public static final InputProperty.DistributionType HASH
public static final InputProperty.DistributionType BROADCAST
public static final InputProperty.DistributionType SINGLETON
public static final InputProperty.DistributionType KEEP_INPUT_AS_IS
public static final InputProperty.DistributionType UNKNOWN
public static InputProperty.DistributionType[] values()
for (InputProperty.DistributionType c : InputProperty.DistributionType.values()) System.out.println(c);
public static InputProperty.DistributionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.