public enum DistributionPattern extends Enum<DistributionPattern>
It affects how ExecutionVertex and IntermediateResultPartition are connected
in EdgeManagerBuildUtil
| 枚举常量和说明 |
|---|
ALL_TO_ALL
Each producing sub task is connected to each sub task of the consuming task.
|
POINTWISE
Each producing sub task is connected to one or more subtask(s) of the consuming task.
|
public static final DistributionPattern ALL_TO_ALL
public static final DistributionPattern POINTWISE
public static DistributionPattern[] values()
for (DistributionPattern c : DistributionPattern.values()) System.out.println(c);
public static DistributionPattern valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.