public enum DistributionPattern extends Enum<DistributionPattern>
It affects how ExecutionVertex
and IntermediateResultPartition
are connected
in EdgeManagerBuildUtil
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static DistributionPattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistributionPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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.