Package org.apache.flink.runtime.io
Enum PullingAsyncDataInput.EndOfDataStatus
- java.lang.Object
-
- java.lang.Enum<PullingAsyncDataInput.EndOfDataStatus>
-
- org.apache.flink.runtime.io.PullingAsyncDataInput.EndOfDataStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<PullingAsyncDataInput.EndOfDataStatus>
- Enclosing interface:
- PullingAsyncDataInput<T>
public static enum PullingAsyncDataInput.EndOfDataStatus extends Enum<PullingAsyncDataInput.EndOfDataStatus>
Status for describing if we have reached the end of data.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DRAINED
NOT_END_OF_DATA
STOPPED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PullingAsyncDataInput.EndOfDataStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static PullingAsyncDataInput.EndOfDataStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_END_OF_DATA
public static final PullingAsyncDataInput.EndOfDataStatus NOT_END_OF_DATA
-
DRAINED
public static final PullingAsyncDataInput.EndOfDataStatus DRAINED
-
STOPPED
public static final PullingAsyncDataInput.EndOfDataStatus STOPPED
-
-
Method Detail
-
values
public static PullingAsyncDataInput.EndOfDataStatus[] 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 (PullingAsyncDataInput.EndOfDataStatus c : PullingAsyncDataInput.EndOfDataStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PullingAsyncDataInput.EndOfDataStatus 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
-
-