Enum HsSpillingInfoProvider.ConsumeStatus
- java.lang.Object
-
- java.lang.Enum<HsSpillingInfoProvider.ConsumeStatus>
-
- org.apache.flink.runtime.io.network.partition.hybrid.HsSpillingInfoProvider.ConsumeStatus
-
- All Implemented Interfaces:
Serializable,Comparable<HsSpillingInfoProvider.ConsumeStatus>
- Enclosing interface:
- HsSpillingInfoProvider
public static enum HsSpillingInfoProvider.ConsumeStatus extends Enum<HsSpillingInfoProvider.ConsumeStatus>
This enum represents buffer status of consume in hybrid shuffle mode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLThe buffer is either consumed or not consumed.CONSUMEDThe buffer has already consumed by downstream.NOT_CONSUMEDThe buffer is not consumed by downstream.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HsSpillingInfoProvider.ConsumeStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static HsSpillingInfoProvider.ConsumeStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSUMED
public static final HsSpillingInfoProvider.ConsumeStatus CONSUMED
The buffer has already consumed by downstream.
-
NOT_CONSUMED
public static final HsSpillingInfoProvider.ConsumeStatus NOT_CONSUMED
The buffer is not consumed by downstream.
-
ALL
public static final HsSpillingInfoProvider.ConsumeStatus ALL
The buffer is either consumed or not consumed.
-
-
Method Detail
-
values
public static HsSpillingInfoProvider.ConsumeStatus[] 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 (HsSpillingInfoProvider.ConsumeStatus c : HsSpillingInfoProvider.ConsumeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HsSpillingInfoProvider.ConsumeStatus 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
-
-