Enum StreamConfig.InputRequirement
java.lang.Object
java.lang.Enum<StreamConfig.InputRequirement>
org.apache.flink.streaming.api.graph.StreamConfig.InputRequirement
- All Implemented Interfaces:
Serializable,Comparable<StreamConfig.InputRequirement>
- Enclosing class:
- StreamConfig
Requirements of the different inputs of an operator. Each input can have a different
requirement. For all
SORTED inputs, records are sorted/grouped by key and all
records of a given key are passed to the operator consecutively before moving on to the next
group.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRecords fromPASS_THROUGHinputs are passed to the operator before passing any records fromSORTEDinputs.Records from all sorted inputs are grouped (sorted) by key and are then fed to the operator one group at a time. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static StreamConfig.InputRequirement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SORTED
Records from all sorted inputs are grouped (sorted) by key and are then fed to the operator one group at a time. This "zig-zags" between different inputs if records for the same key arrive on multiple inputs to ensure that the operator sees all records with a key as one consecutive group. -
PASS_THROUGH
Records fromPASS_THROUGHinputs are passed to the operator before passing any records fromSORTEDinputs. There are no guarantees on ordering between and within the differentPASS_THROUGHinputs.
-
-
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
-