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 ConstantsEnum ConstantDescriptionSkip first null entries.Transform all entries. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TRANSFORM_ALL
public static final StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy TRANSFORM_ALLTransform all entries. -
STOP_ON_FIRST_INCLUDED
public static final StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy STOP_ON_FIRST_INCLUDEDSkip 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 Details
-
values
public static StateSnapshotTransformer.CollectionStateSnapshotTransformer.TransformStrategy[] values()Returns an array containing the constants of this enum type, in the order they are declared.- 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
-