public static enum ExecEdge.Shuffle.Type extends Enum<ExecEdge.Shuffle.Type>
Enum Constant and Description |
---|
ANY
Any type of shuffle is OK when passing through this edge.
|
BROADCAST
Full records are provided for each parallelism of the target node.
|
FORWARD
Records are shuffled in same parallelism (the shuffle behavior is function call).
|
HASH
Records are shuffled by hash when passing through this edge.
|
SINGLETON
Records are shuffled to one node, the parallelism of the target node must be 1.
|
Modifier and Type | Method and Description |
---|---|
static ExecEdge.Shuffle.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecEdge.Shuffle.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecEdge.Shuffle.Type ANY
public static final ExecEdge.Shuffle.Type HASH
public static final ExecEdge.Shuffle.Type BROADCAST
public static final ExecEdge.Shuffle.Type SINGLETON
public static final ExecEdge.Shuffle.Type FORWARD
public static ExecEdge.Shuffle.Type[] values()
for (ExecEdge.Shuffle.Type c : ExecEdge.Shuffle.Type.values()) System.out.println(c);
public static ExecEdge.Shuffle.Type 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.