public static enum InputProperty.DistributionType extends Enum<InputProperty.DistributionType>
| 枚举常量和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static InputProperty.DistributionType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static InputProperty.DistributionType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.