public static enum ExecEdge.Shuffle.Type extends Enum<ExecEdge.Shuffle.Type>
| 枚举常量和说明 |
|---|
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.
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.