Enum StreamExchangeMode
java.lang.Object
java.lang.Enum<StreamExchangeMode>
org.apache.flink.streaming.api.transformations.StreamExchangeMode
- All Implemented Interfaces:
Serializable,Comparable<StreamExchangeMode>
The data exchange mode between operators during
StreamGraph generation.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe producer first produces its entire result and finishes.The consumer can start consuming data anytime as long as the producer has started producing.The consumer can start consuming data anytime as long as the producer has started producing.Producer and consumer are online at the same time.The exchange mode is undefined. -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamExchangeModeReturns the enum constant of this type with the specified name.static StreamExchangeMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PIPELINED
Producer and consumer are online at the same time. Produced data is received by consumer immediately. -
BATCH
The producer first produces its entire result and finishes. After that, the consumer is started and may consume the data. -
HYBRID_FULL
The consumer can start consuming data anytime as long as the producer has started producing.This exchange mode is re-consumable.
-
HYBRID_SELECTIVE
The consumer can start consuming data anytime as long as the producer has started producing.This exchange mode is not re-consumable.
-
UNDEFINED
-
-
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
-