Class BatchExecutionStateBackend
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.sorted.state.BatchExecutionStateBackend
-
- All Implemented Interfaces:
Serializable,StateBackend
public class BatchExecutionStateBackend extends Object implements StateBackend
A simpleStateBackendwhich is used in a BATCH style execution.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.StateBackend
StateBackend.CustomInitializationMetrics, StateBackend.KeyedStateBackendParameters<K>, StateBackend.OperatorStateBackendParameters
-
-
Constructor Summary
Constructors Constructor Description BatchExecutionStateBackend()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K> CheckpointableKeyedStateBackend<K>createKeyedStateBackend(StateBackend.KeyedStateBackendParameters<K> parameters)Creates a newCheckpointableKeyedStateBackendthat is responsible for holding keyed state and checkpointing it.OperatorStateBackendcreateOperatorStateBackend(StateBackend.OperatorStateBackendParameters parameters)Creates a newOperatorStateBackendthat can be used for storing operator state.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.runtime.state.StateBackend
createAsyncKeyedStateBackend, getName, supportsAsyncKeyedStateBackend, supportsNoClaimRestoreMode, supportsSavepointFormat, useManagedMemory
-
-
-
-
Method Detail
-
createKeyedStateBackend
public <K> CheckpointableKeyedStateBackend<K> createKeyedStateBackend(StateBackend.KeyedStateBackendParameters<K> parameters)
Description copied from interface:StateBackendCreates a newCheckpointableKeyedStateBackendthat is responsible for holding keyed state and checkpointing it.Keyed State is state where each value is bound to a key.
- Specified by:
createKeyedStateBackendin interfaceStateBackend- Type Parameters:
K- The type of the keys by which the state is organized.- Parameters:
parameters- The arguments bundle for creatingCheckpointableKeyedStateBackend.- Returns:
- The Keyed State Backend for the given job, operator, and key group range.
-
createOperatorStateBackend
public OperatorStateBackend createOperatorStateBackend(StateBackend.OperatorStateBackendParameters parameters) throws Exception
Description copied from interface:StateBackendCreates a newOperatorStateBackendthat can be used for storing operator state.Operator state is state that is associated with parallel operator (or function) instances, rather than with keys.
- Specified by:
createOperatorStateBackendin interfaceStateBackend- Parameters:
parameters- The arguments bundle for creatingOperatorStateBackend.- Returns:
- The OperatorStateBackend for operator identified by the job and operator identifier.
- Throws:
Exception- This method may forward all exceptions that occur while instantiating the backend.
-
-