@Internal public abstract class AbstractChangelogStateBackend extends Object implements org.apache.flink.runtime.state.delegate.DelegatingStateBackend, org.apache.flink.runtime.state.StateBackend
StateBackend interface whose subclasses use
delegatedStateBackend and State changes to restore.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.flink.runtime.state.StateBackend |
delegatedStateBackend |
| 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) |
<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,
double managedMemoryFraction) |
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) |
org.apache.flink.runtime.state.StateBackend |
getDelegatedStateBackend() |
protected abstract <K> org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<K> |
restore(org.apache.flink.runtime.execution.Environment env,
String operatorIdentifier,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
org.apache.flink.runtime.state.ttl.TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
Collection<org.apache.flink.runtime.state.changelog.ChangelogStateBackendHandle> stateBackendHandles,
ChangelogBackendRestoreOperation.BaseBackendBuilder<K> baseBackendBuilder) |
boolean |
useManagedMemory() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected final org.apache.flink.runtime.state.StateBackend delegatedStateBackend
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)
throws Exception
createKeyedStateBackend in interface org.apache.flink.runtime.state.StateBackendExceptionpublic <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,
double managedMemoryFraction)
throws Exception
createKeyedStateBackend in interface org.apache.flink.runtime.state.StateBackendExceptionpublic 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.StateBackendExceptionpublic boolean useManagedMemory()
useManagedMemory in interface org.apache.flink.runtime.state.StateBackendpublic org.apache.flink.runtime.state.StateBackend getDelegatedStateBackend()
getDelegatedStateBackend in interface org.apache.flink.runtime.state.delegate.DelegatingStateBackendprotected abstract <K> org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<K> restore(org.apache.flink.runtime.execution.Environment env,
String operatorIdentifier,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
org.apache.flink.runtime.state.ttl.TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
Collection<org.apache.flink.runtime.state.changelog.ChangelogStateBackendHandle> stateBackendHandles,
ChangelogBackendRestoreOperation.BaseBackendBuilder<K> baseBackendBuilder)
throws Exception
ExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.