Class SavepointMetadata
- java.lang.Object
-
- org.apache.flink.state.api.runtime.metadata.SavepointMetadata
-
@Internal @Deprecated public class SavepointMetadata extends Object
Deprecated.Savepoint metadata that can be modified.
-
-
Constructor Summary
Constructors Constructor Description SavepointMetadata(long checkpointId, int maxParallelism, Collection<org.apache.flink.runtime.checkpoint.MasterState> masterStates, Collection<org.apache.flink.runtime.checkpoint.OperatorState> initialStates)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddOperator(String uid, BootstrapTransformation<?> transformation)Deprecated.longgetCheckpointId()Deprecated.List<org.apache.flink.runtime.checkpoint.OperatorState>getExistingOperators()Deprecated.Collection<org.apache.flink.runtime.checkpoint.MasterState>getMasterStates()Deprecated.intgetMaxParallelism()Deprecated.List<BootstrapTransformationWithID<?>>getNewOperators()Deprecated.org.apache.flink.runtime.checkpoint.OperatorStategetOperatorState(String uid)Deprecated.voidremoveOperator(String uid)Deprecated.
-
-
-
Constructor Detail
-
SavepointMetadata
public SavepointMetadata(long checkpointId, int maxParallelism, Collection<org.apache.flink.runtime.checkpoint.MasterState> masterStates, Collection<org.apache.flink.runtime.checkpoint.OperatorState> initialStates)Deprecated.
-
-
Method Detail
-
getCheckpointId
public long getCheckpointId()
Deprecated.
-
getMaxParallelism
public int getMaxParallelism()
Deprecated.
-
getMasterStates
public Collection<org.apache.flink.runtime.checkpoint.MasterState> getMasterStates()
Deprecated.
-
getOperatorState
public org.apache.flink.runtime.checkpoint.OperatorState getOperatorState(String uid) throws IOException
Deprecated.- Returns:
- Operator state for the given UID.
- Throws:
IOException- If the savepoint does not contain operator state with the given uid.
-
removeOperator
public void removeOperator(String uid)
Deprecated.
-
addOperator
public void addOperator(String uid, BootstrapTransformation<?> transformation)
Deprecated.
-
getExistingOperators
public List<org.apache.flink.runtime.checkpoint.OperatorState> getExistingOperators()
Deprecated.- Returns:
- List of
OperatorStatethat already exists within the savepoint.
-
getNewOperators
public List<BootstrapTransformationWithID<?>> getNewOperators()
Deprecated.- Returns:
- List of new operator states for the savepoint, represented by their target
OperatorIDandBootstrapTransformation.
-
-