Class BatchExecutionStateBackend

  • All Implemented Interfaces:
    Serializable, org.apache.flink.runtime.state.StateBackend

    public class BatchExecutionStateBackend
    extends Object
    implements org.apache.flink.runtime.state.StateBackend
    A simple StateBackend which is used in a BATCH style execution.
    See Also:
    Serialized Form
    • 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.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)  
      • Methods inherited from interface org.apache.flink.runtime.state.StateBackend

        createKeyedStateBackend, getName, supportsNoClaimRestoreMode, supportsSavepointFormat, useManagedMemory
    • Constructor Detail

      • BatchExecutionStateBackend

        public BatchExecutionStateBackend()
    • 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:
        createKeyedStateBackend in interface org.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:
        createOperatorStateBackend in interface org.apache.flink.runtime.state.StateBackend
        Throws:
        Exception