Package org.apache.flink.runtime.state
Enum StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy
- java.lang.Object
-
- java.lang.Enum<StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy>
-
- org.apache.flink.runtime.state.StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy
-
- All Implemented Interfaces:
Serializable,Comparable<StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy>
- Enclosing interface:
- StateSnapshotTransformer.CollectionStateSnapshotTransformer<T>
public static enum StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy extends Enum<StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STOP_ON_FIRST_INCLUDEDSkip first null entries.TRANSFORM_ALLTransform all entries.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRANSFORM_ALL
public static final StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy TRANSFORM_ALL
Transform all entries.
-
STOP_ON_FIRST_INCLUDED
public static final StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy STOP_ON_FIRST_INCLUDED
Skip first null entries.While traversing collection entries, as optimisation, stops transforming if encounters first non-null included entry and returns it plus the rest untouched.
-
-
Method Detail
-
values
public static StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy[] 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 (StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy c : StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy 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
-
-