@PublicEvolving public enum ShuffleMode extends Enum<ShuffleMode>
| 枚举常量和说明 |
|---|
BATCH
The producer first produces its entire result and finishes.
|
PIPELINED
Producer and consumer are online at the same time.
|
UNDEFINED
The shuffle mode is undefined.
|
public static final ShuffleMode PIPELINED
public static final ShuffleMode BATCH
public static final ShuffleMode UNDEFINED
public static ShuffleMode[] values()
for (ShuffleMode c : ShuffleMode.values()) System.out.println(c);
public static ShuffleMode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.