Package org.apache.flink.state.forst
Class ForStKeyedStateBackendBuilder<K>
- java.lang.Object
-
- org.apache.flink.state.forst.ForStKeyedStateBackendBuilder<K>
-
- Type Parameters:
K- The data type that the key serializer serializes.
- All Implemented Interfaces:
org.apache.flink.runtime.state.StateBackendBuilder<ForStKeyedStateBackend<K>,org.apache.flink.runtime.state.BackendBuildingException>
public class ForStKeyedStateBackendBuilder<K> extends Object implements org.apache.flink.runtime.state.StateBackendBuilder<ForStKeyedStateBackend<K>,org.apache.flink.runtime.state.BackendBuildingException>
Builder class forForStKeyedStateBackendwhich handles all necessary initializations and cleanups.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description ForStKeyedStateBackendBuilder(ForStResourceContainer optionsContainer, java.util.function.Function<String,org.rocksdb.ColumnFamilyOptions> columnFamilyOptionsFactory, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, int numberOfKeyGroups, org.apache.flink.metrics.MetricGroup metricGroup, Collection<org.apache.flink.runtime.state.KeyedStateHandle> stateHandles)
-
-
-
Constructor Detail
-
ForStKeyedStateBackendBuilder
public ForStKeyedStateBackendBuilder(ForStResourceContainer optionsContainer, java.util.function.Function<String,org.rocksdb.ColumnFamilyOptions> columnFamilyOptionsFactory, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, int numberOfKeyGroups, org.apache.flink.metrics.MetricGroup metricGroup, @Nonnull Collection<org.apache.flink.runtime.state.KeyedStateHandle> stateHandles)
-
-
Method Detail
-
build
public ForStKeyedStateBackend<K> build() throws org.apache.flink.runtime.state.BackendBuildingException
- Specified by:
buildin interfaceorg.apache.flink.runtime.state.StateBackendBuilder<ForStKeyedStateBackend<K>,org.apache.flink.runtime.state.BackendBuildingException>- Throws:
org.apache.flink.runtime.state.BackendBuildingException
-
-