Package org.apache.flink.api.common
Enum InputDependencyConstraint
- java.lang.Object
-
- java.lang.Enum<InputDependencyConstraint>
-
- org.apache.flink.api.common.InputDependencyConstraint
-
- All Implemented Interfaces:
Serializable,Comparable<InputDependencyConstraint>
@PublicEvolving @Deprecated public enum InputDependencyConstraint extends Enum<InputDependencyConstraint>
Deprecated.InputDependencyConstraintis not used anymore and will be deleted in one of the future versions. It was previously used in the scheduler implementations that were removed as part of FLINK-20589.This constraint indicates when a task should be scheduled considering its inputs status.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InputDependencyConstraintvalueOf(String name)Deprecated.Returns the enum constant of this type with the specified name.static InputDependencyConstraint[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final InputDependencyConstraint ANY
Deprecated.Schedule the task if any input is consumable.
-
ALL
public static final InputDependencyConstraint ALL
Deprecated.Schedule the task if all the inputs are consumable.
-
-
Method Detail
-
values
public static InputDependencyConstraint[] values()
Deprecated.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 (InputDependencyConstraint c : InputDependencyConstraint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputDependencyConstraint valueOf(String name)
Deprecated.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
-
-