@PublicEvolving public enum ShuffleMode extends Enum<ShuffleMode>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static ShuffleMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShuffleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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–2021 The Apache Software Foundation. All rights reserved.