Enum GlobalStreamExchangeMode
java.lang.Object
java.lang.Enum<GlobalStreamExchangeMode>
org.apache.flink.streaming.api.graph.GlobalStreamExchangeMode
- All Implemented Interfaces:
Serializable,Comparable<GlobalStreamExchangeMode>
This mode decides the default
ResultPartitionType of job edges. Note that this only
affects job edges which are StreamExchangeMode.UNDEFINED.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSet all job edges to beResultPartitionType.BLOCKING.Set all job edgesResultPartitionType.HYBRID_FULL.Set all job edgesResultPartitionType.HYBRID_SELECTIVE.Set all job edgesResultPartitionType.PIPELINED_BOUNDED.Set all job edgesResultPartitionType.PIPELINED_APPROXIMATE.Set job edges withForwardPartitionerto beResultPartitionType.PIPELINED_BOUNDEDand other edges to beResultPartitionType.BLOCKING.Set job edges withForwardPartitionerorRescalePartitionerto beResultPartitionType.PIPELINED_BOUNDEDand other edges to beResultPartitionType.BLOCKING. -
Method Summary
Modifier and TypeMethodDescriptionstatic GlobalStreamExchangeModeReturns the enum constant of this type with the specified name.static GlobalStreamExchangeMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALL_EDGES_BLOCKING
Set all job edges to beResultPartitionType.BLOCKING. -
FORWARD_EDGES_PIPELINED
Set job edges withForwardPartitionerto beResultPartitionType.PIPELINED_BOUNDEDand other edges to beResultPartitionType.BLOCKING. -
POINTWISE_EDGES_PIPELINED
Set job edges withForwardPartitionerorRescalePartitionerto beResultPartitionType.PIPELINED_BOUNDEDand other edges to beResultPartitionType.BLOCKING. -
ALL_EDGES_PIPELINED
Set all job edgesResultPartitionType.PIPELINED_BOUNDED. -
ALL_EDGES_PIPELINED_APPROXIMATE
Set all job edgesResultPartitionType.PIPELINED_APPROXIMATE. -
ALL_EDGES_HYBRID_FULL
Set all job edgesResultPartitionType.HYBRID_FULL. -
ALL_EDGES_HYBRID_SELECTIVE
Set all job edgesResultPartitionType.HYBRID_SELECTIVE.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-