Enum GlobalStreamExchangeMode
- java.lang.Object
-
- java.lang.Enum<GlobalStreamExchangeMode>
-
- org.apache.flink.streaming.api.graph.GlobalStreamExchangeMode
-
- All Implemented Interfaces:
Serializable
,Comparable<GlobalStreamExchangeMode>
@Internal public enum GlobalStreamExchangeMode extends Enum<GlobalStreamExchangeMode>
This mode decides the defaultResultPartitionType
of job edges. Note that this only affects job edges which areStreamExchangeMode.UNDEFINED
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_EDGES_BLOCKING
Set all job edges to beResultPartitionType.BLOCKING
.ALL_EDGES_HYBRID_FULL
Set all job edgesResultPartitionType.HYBRID_FULL
.ALL_EDGES_HYBRID_SELECTIVE
Set all job edgesResultPartitionType.HYBRID_SELECTIVE
.ALL_EDGES_PIPELINED
Set all job edgesResultPartitionType.PIPELINED_BOUNDED
.ALL_EDGES_PIPELINED_APPROXIMATE
Set all job edgesResultPartitionType.PIPELINED_APPROXIMATE
.FORWARD_EDGES_PIPELINED
Set job edges withForwardPartitioner
to beResultPartitionType.PIPELINED_BOUNDED
and other edges to beResultPartitionType.BLOCKING
.POINTWISE_EDGES_PIPELINED
Set job edges withForwardPartitioner
orRescalePartitioner
to beResultPartitionType.PIPELINED_BOUNDED
and other edges to beResultPartitionType.BLOCKING
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GlobalStreamExchangeMode
valueOf(String name)
Returns 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 Detail
-
ALL_EDGES_BLOCKING
public static final GlobalStreamExchangeMode ALL_EDGES_BLOCKING
Set all job edges to beResultPartitionType.BLOCKING
.
-
FORWARD_EDGES_PIPELINED
public static final GlobalStreamExchangeMode FORWARD_EDGES_PIPELINED
Set job edges withForwardPartitioner
to beResultPartitionType.PIPELINED_BOUNDED
and other edges to beResultPartitionType.BLOCKING
.
-
POINTWISE_EDGES_PIPELINED
public static final GlobalStreamExchangeMode POINTWISE_EDGES_PIPELINED
Set job edges withForwardPartitioner
orRescalePartitioner
to beResultPartitionType.PIPELINED_BOUNDED
and other edges to beResultPartitionType.BLOCKING
.
-
ALL_EDGES_PIPELINED
public static final GlobalStreamExchangeMode ALL_EDGES_PIPELINED
Set all job edgesResultPartitionType.PIPELINED_BOUNDED
.
-
ALL_EDGES_PIPELINED_APPROXIMATE
public static final GlobalStreamExchangeMode ALL_EDGES_PIPELINED_APPROXIMATE
Set all job edgesResultPartitionType.PIPELINED_APPROXIMATE
.
-
ALL_EDGES_HYBRID_FULL
public static final GlobalStreamExchangeMode ALL_EDGES_HYBRID_FULL
Set all job edgesResultPartitionType.HYBRID_FULL
.
-
ALL_EDGES_HYBRID_SELECTIVE
public static final GlobalStreamExchangeMode ALL_EDGES_HYBRID_SELECTIVE
Set all job edgesResultPartitionType.HYBRID_SELECTIVE
.
-
-
Method Detail
-
values
public static GlobalStreamExchangeMode[] 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 (GlobalStreamExchangeMode c : GlobalStreamExchangeMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalStreamExchangeMode 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
-
-