public class BatchExecutionStateBackend extends Object implements org.apache.flink.runtime.state.StateBackend
StateBackend which is used in a BATCH style execution.| Constructor and Description |
|---|
BatchExecutionStateBackend() |
| Modifier and Type | Method and 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.OperatorStateBackend |
createOperatorStateBackend(org.apache.flink.runtime.execution.Environment env,
String operatorIdentifier,
Collection<org.apache.flink.runtime.state.OperatorStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) |
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)
createKeyedStateBackend in interface org.apache.flink.runtime.state.StateBackendpublic 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
createOperatorStateBackend in interface org.apache.flink.runtime.state.StateBackendExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.