Enum IterateType
- java.lang.Object
-
- java.lang.Enum<IterateType>
-
- org.apache.flink.streaming.api.runners.python.beam.state.IterateType
-
- All Implemented Interfaces:
Serializable,Comparable<IterateType>
public enum IterateType extends Enum<IterateType>
The type of the Python map state iterate request.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ITEMSEquivalent to iterateMap.entrySet().KEYSEquivalent to iterateMap.keySet().VALUESEquivalent to iterateMap.values().
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IterateTypefromOrd(byte ord)bytegetOrd()static IterateTypevalueOf(String name)Returns the enum constant of this type with the specified name.static IterateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ITEMS
public static final IterateType ITEMS
Equivalent to iterateMap.entrySet().
-
KEYS
public static final IterateType KEYS
Equivalent to iterateMap.keySet().
-
VALUES
public static final IterateType VALUES
Equivalent to iterateMap.values().
-
-
Method Detail
-
values
public static IterateType[] 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 (IterateType c : IterateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IterateType 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
-
getOrd
public byte getOrd()
-
fromOrd
public static IterateType fromOrd(byte ord)
-
-