SavepointWriter
and the data stream api
under batch execution. For reading a savepoint, use SavepointReader
and the data
stream api under batch execution.@PublicEvolving @Deprecated public final class Savepoint extends Object
ExistingSavepoint
,
NewSavepoint
,
SavepointReader
,
SavepointWriter
Modifier and Type | Method and Description |
---|---|
static NewSavepoint |
create(int maxParallelism)
Deprecated.
Creates a new savepoint.
|
static NewSavepoint |
create(StateBackend stateBackend,
int maxParallelism)
Deprecated.
Creates a new savepoint.
|
static ExistingSavepoint |
load(ExecutionEnvironment env,
String path)
Deprecated.
Loads an existing savepoint.
|
static ExistingSavepoint |
load(ExecutionEnvironment env,
String path,
StateBackend stateBackend)
Deprecated.
Loads an existing savepoint.
|
public static ExistingSavepoint load(ExecutionEnvironment env, String path) throws IOException
env
- The execution environment used to transform the savepoint.path
- The path to an existing savepoint on disk.IOException
load(ExecutionEnvironment, String, StateBackend)
public static ExistingSavepoint load(ExecutionEnvironment env, String path, StateBackend stateBackend) throws IOException
env
- The execution environment used to transform the savepoint.path
- The path to an existing savepoint on disk.stateBackend
- The state backend of the savepoint.IOException
load(ExecutionEnvironment, String)
public static NewSavepoint create(int maxParallelism)
maxParallelism
- The max parallelism of the savepoint.create(StateBackend, int)
public static NewSavepoint create(StateBackend stateBackend, int maxParallelism)
stateBackend
- The state backend of the savepoint used for keyed state.maxParallelism
- The max parallelism of the savepoint.create(int)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.