Package | Description |
---|---|
org.apache.flink.contrib.streaming.state | |
org.apache.flink.runtime.state | |
org.apache.flink.runtime.state.filesystem | |
org.apache.flink.runtime.state.memory |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRocksDBState<K,N,S extends State,SD extends StateDescriptor<S,?>>
Base class for
State implementations that store state in a RocksDB database. |
class |
LazyDbValueState<K,N,V>
Lazily fetched
KvState using a SQL backend. |
class |
RocksDBFoldingState<K,N,T,ACC>
FoldingState implementation that stores state in RocksDB. |
class |
RocksDBListState<K,N,V>
ListState implementation that stores state in RocksDB. |
class |
RocksDBReducingState<K,N,V>
ReducingState implementation that stores state in RocksDB. |
class |
RocksDBValueState<K,N,V>
ValueState implementation that stores state in RocksDB. |
Modifier and Type | Method and Description |
---|---|
protected abstract KvState<K,N,S,SD,RocksDBStateBackend> |
AbstractRocksDBState.AbstractRocksDBSnapshot.createRocksDBState(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
SD stateDesc,
File basePath,
String backupPath,
String restorePath,
org.rocksdb.Options options)
Subclasses must implement this for creating a concrete RocksDB state.
|
KvState<K,N,S,SD,RocksDBStateBackend> |
AbstractRocksDBState.AbstractRocksDBSnapshot.restoreState(RocksDBStateBackend stateBackend,
TypeSerializer<K> keySerializer,
ClassLoader classLoader,
long recoveryTimestamp) |
Modifier and Type | Class and Description |
---|---|
class |
GenericFoldingState<K,N,T,ACC,Backend extends AbstractStateBackend,W extends ValueState<ACC> & KvState<K,N,ValueState<ACC>,ValueStateDescriptor<ACC>,Backend>>
Generic implementation of
FoldingState based on a wrapped ValueState . |
class |
GenericListState<K,N,T,Backend extends AbstractStateBackend,W extends ValueState<ArrayList<T>> & KvState<K,N,ValueState<ArrayList<T>>,ValueStateDescriptor<ArrayList<T>>,Backend>>
Generic implementation of
ListState based on a wrapped ValueState . |
class |
GenericReducingState<K,N,T,Backend extends AbstractStateBackend,W extends ValueState<T> & KvState<K,N,ValueState<T>,ValueStateDescriptor<T>,Backend>>
Generic implementation of
ReducingState based on a wrapped ValueState . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHeapState<K,N,SV,S extends State,SD extends StateDescriptor<S,?>,Backend extends AbstractStateBackend>
Base class for partitioned
ListState implementations that are backed by a regular
heap hash map. |
class |
GenericFoldingState<K,N,T,ACC,Backend extends AbstractStateBackend,W extends ValueState<ACC> & KvState<K,N,ValueState<ACC>,ValueStateDescriptor<ACC>,Backend>>
Generic implementation of
FoldingState based on a wrapped ValueState . |
class |
GenericListState<K,N,T,Backend extends AbstractStateBackend,W extends ValueState<ArrayList<T>> & KvState<K,N,ValueState<ArrayList<T>>,ValueStateDescriptor<ArrayList<T>>,Backend>>
Generic implementation of
ListState based on a wrapped ValueState . |
class |
GenericReducingState<K,N,T,Backend extends AbstractStateBackend,W extends ValueState<T> & KvState<K,N,ValueState<T>,ValueStateDescriptor<T>,Backend>>
Generic implementation of
ReducingState based on a wrapped ValueState . |
Modifier and Type | Method and Description |
---|---|
KvState<K,N,S,SD,Backend> |
KvStateSnapshot.restoreState(Backend stateBackend,
TypeSerializer<K> keySerializer,
ClassLoader classLoader,
long recoveryTimestamp)
Loads the key/value state back from this snapshot.
|
KvState<K,N,S,SD,Backend> |
AsynchronousKvStateSnapshot.restoreState(Backend stateBackend,
TypeSerializer<K> keySerializer,
ClassLoader classLoader,
long recoveryTimestamp) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFsState<K,N,SV,S extends State,SD extends StateDescriptor<S,?>>
Base class for partitioned
ListState implementations that are backed by a regular
heap hash map. |
class |
FsFoldingState<K,N,T,ACC>
Heap-backed partitioned
FoldingState that is
snapshotted into files. |
class |
FsListState<K,N,V>
Heap-backed partitioned
ListState that is snapshotted
into files. |
class |
FsReducingState<K,N,V>
Heap-backed partitioned
ReducingState that is
snapshotted into files. |
class |
FsValueState<K,N,V>
Heap-backed partitioned
ValueState that is snapshotted
into files. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMemState<K,N,SV,S extends State,SD extends StateDescriptor<S,?>>
Base class for partitioned
ListState implementations that are backed by a regular
heap hash map. |
class |
MemFoldingState<K,N,T,ACC>
Heap-backed partitioned
FoldingState that is
snapshotted into a serialized memory copy. |
class |
MemListState<K,N,V>
Heap-backed partitioned
ListState that is snapshotted
into a serialized memory copy. |
class |
MemReducingState<K,N,V>
Heap-backed partitioned
ReducingState that is
snapshotted into a serialized memory copy. |
class |
MemValueState<K,N,V>
Heap-backed key/value state that is snapshotted into a serialized memory copy.
|
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.