Class BatchExecutionStateBackend
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.sorted.state.BatchExecutionStateBackend
-
- All Implemented Interfaces:
Serializable,org.apache.flink.runtime.state.StateBackend
public class BatchExecutionStateBackend extends Object implements org.apache.flink.runtime.state.StateBackend
A simpleStateBackendwhich is used in a BATCH style execution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchExecutionStateBackend()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K> org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<K>createKeyedStateBackend(org.apache.flink.runtime.execution.Environment env, org.apache.flink.api.common.JobID jobID, String operatorIdentifier, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, int numberOfKeyGroups, org.apache.flink.runtime.state.KeyGroupRange keyGroupRange, org.apache.flink.runtime.query.TaskKvStateRegistry kvStateRegistry, org.apache.flink.runtime.state.ttl.TtlTimeProvider ttlTimeProvider, org.apache.flink.metrics.MetricGroup metricGroup, Collection<org.apache.flink.runtime.state.KeyedStateHandle> stateHandles, org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry)org.apache.flink.runtime.state.OperatorStateBackendcreateOperatorStateBackend(org.apache.flink.runtime.execution.Environment env, String operatorIdentifier, Collection<org.apache.flink.runtime.state.OperatorStateHandle> stateHandles, org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry)
-
-
-
Method Detail
-
createKeyedStateBackend
public <K> org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<K> createKeyedStateBackend(org.apache.flink.runtime.execution.Environment env, org.apache.flink.api.common.JobID jobID, String operatorIdentifier, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, int numberOfKeyGroups, org.apache.flink.runtime.state.KeyGroupRange keyGroupRange, org.apache.flink.runtime.query.TaskKvStateRegistry kvStateRegistry, org.apache.flink.runtime.state.ttl.TtlTimeProvider ttlTimeProvider, org.apache.flink.metrics.MetricGroup metricGroup, @Nonnull Collection<org.apache.flink.runtime.state.KeyedStateHandle> stateHandles, org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry)- Specified by:
createKeyedStateBackendin interfaceorg.apache.flink.runtime.state.StateBackend
-
createOperatorStateBackend
public org.apache.flink.runtime.state.OperatorStateBackend createOperatorStateBackend(org.apache.flink.runtime.execution.Environment env, String operatorIdentifier, @Nonnull Collection<org.apache.flink.runtime.state.OperatorStateHandle> stateHandles, org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) throws Exception- Specified by:
createOperatorStateBackendin interfaceorg.apache.flink.runtime.state.StateBackend- Throws:
Exception
-
-