@Internal @Deprecated public class SavepointMetadata extends Object
| 构造器和说明 |
|---|
SavepointMetadata(int maxParallelism,
Collection<org.apache.flink.runtime.checkpoint.MasterState> masterStates,
Collection<org.apache.flink.runtime.checkpoint.OperatorState> initialStates)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addOperator(String uid,
BootstrapTransformation<?> transformation)
已过时。
|
List<org.apache.flink.runtime.checkpoint.OperatorState> |
getExistingOperators()
已过时。
|
Collection<org.apache.flink.runtime.checkpoint.MasterState> |
getMasterStates()
已过时。
|
int |
getMaxParallelism()
已过时。
|
List<BootstrapTransformationWithID<?>> |
getNewOperators()
已过时。
|
org.apache.flink.runtime.checkpoint.OperatorState |
getOperatorState(String uid)
已过时。
|
void |
removeOperator(String uid)
已过时。
|
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.