Enum ExecutionConfigOptions.SinkKeyedShuffle
- java.lang.Object
-
- java.lang.Enum<ExecutionConfigOptions.SinkKeyedShuffle>
-
- org.apache.flink.table.api.config.ExecutionConfigOptions.SinkKeyedShuffle
-
- All Implemented Interfaces:
Serializable
,Comparable<ExecutionConfigOptions.SinkKeyedShuffle>
- Enclosing class:
- ExecutionConfigOptions
@PublicEvolving public static enum ExecutionConfigOptions.SinkKeyedShuffle extends Enum<ExecutionConfigOptions.SinkKeyedShuffle>
Shuffle by primary key before sink.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutionConfigOptions.SinkKeyedShuffle
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExecutionConfigOptions.SinkKeyedShuffle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ExecutionConfigOptions.SinkKeyedShuffle NONE
No keyed shuffle will be added for sink.
-
AUTO
public static final ExecutionConfigOptions.SinkKeyedShuffle AUTO
Auto add keyed shuffle when the sink's parallelism differs from upstream operator.
-
FORCE
public static final ExecutionConfigOptions.SinkKeyedShuffle FORCE
Add keyed shuffle in any case except single parallelism.
-
-
Method Detail
-
values
public static ExecutionConfigOptions.SinkKeyedShuffle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExecutionConfigOptions.SinkKeyedShuffle c : ExecutionConfigOptions.SinkKeyedShuffle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionConfigOptions.SinkKeyedShuffle valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-