@Internal @Deprecated public class SavepointMetadata extends Object
| Constructor and Description |
|---|
SavepointMetadata(int maxParallelism,
Collection<org.apache.flink.runtime.checkpoint.MasterState> masterStates,
Collection<org.apache.flink.runtime.checkpoint.OperatorState> initialStates)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addOperator(String uid,
BootstrapTransformation<?> transformation)
Deprecated.
|
List<org.apache.flink.runtime.checkpoint.OperatorState> |
getExistingOperators()
Deprecated.
|
Collection<org.apache.flink.runtime.checkpoint.MasterState> |
getMasterStates()
Deprecated.
|
int |
getMaxParallelism()
Deprecated.
|
List<BootstrapTransformationWithID<?>> |
getNewOperators()
Deprecated.
|
org.apache.flink.runtime.checkpoint.OperatorState |
getOperatorState(String uid)
Deprecated.
|
void |
removeOperator(String uid)
Deprecated.
|
public SavepointMetadata(int maxParallelism,
Collection<org.apache.flink.runtime.checkpoint.MasterState> masterStates,
Collection<org.apache.flink.runtime.checkpoint.OperatorState> initialStates)
public int getMaxParallelism()
public Collection<org.apache.flink.runtime.checkpoint.MasterState> getMasterStates()
public org.apache.flink.runtime.checkpoint.OperatorState getOperatorState(String uid) throws IOException
IOException - If the savepoint does not contain operator state with the given uid.public void removeOperator(String uid)
public void addOperator(String uid, BootstrapTransformation<?> transformation)
public List<org.apache.flink.runtime.checkpoint.OperatorState> getExistingOperators()
OperatorState that already exists within the savepoint.public List<BootstrapTransformationWithID<?>> getNewOperators()
OperatorID and BootstrapTransformation.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.