Constructor and Description |
---|
SavepointMetadataV2(int maxParallelism,
Collection<MasterState> masterStates,
Collection<OperatorState> initialStates) |
Modifier and Type | Method and Description |
---|---|
void |
addOperator(OperatorIdentifier identifier,
StateBootstrapTransformation<?> transformation) |
List<OperatorState> |
getExistingOperators() |
Collection<MasterState> |
getMasterStates() |
int |
getMaxParallelism() |
List<StateBootstrapTransformationWithID<?>> |
getNewOperators() |
OperatorState |
getOperatorState(OperatorIdentifier identifier) |
void |
removeOperator(OperatorIdentifier identifier) |
public SavepointMetadataV2(int maxParallelism, Collection<MasterState> masterStates, Collection<OperatorState> initialStates)
public int getMaxParallelism()
public Collection<MasterState> getMasterStates()
public OperatorState getOperatorState(OperatorIdentifier identifier) throws IOException
IOException
- If the savepoint does not contain operator state with the given uid.public void removeOperator(OperatorIdentifier identifier)
public void addOperator(OperatorIdentifier identifier, StateBootstrapTransformation<?> transformation)
public List<OperatorState> getExistingOperators()
OperatorState
that already exists within the savepoint.public List<StateBootstrapTransformationWithID<?>> getNewOperators()
OperatorID
and StateBootstrapTransformation
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.