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 |
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 | 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 | Field and Description |
---|---|
protected HashMap<String,KvState<?,?,?,?,?>> |
AbstractStateBackend.keyValueStatesByName
So that we can give out state when the user uses the same key.
|
Modifier and Type | Method and Description |
---|---|
KvState<K,N,S,SD,Backend> |
KvStateSnapshot.restoreState(Backend stateBackend,
TypeSerializer<K> keySerializer,
ClassLoader classLoader)
Loads the key/value state back from this snapshot.
|
KvState<K,N,S,SD,Backend> |
AsynchronousKvStateSnapshot.restoreState(Backend stateBackend,
TypeSerializer<K> keySerializer,
ClassLoader classLoader) |
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.
|
Modifier and Type | Method and Description |
---|---|
KvState<K,N,FoldingState<T,ACC>,FoldingStateDescriptor<T,ACC>,MemoryStateBackend> |
MemFoldingState.Snapshot.createMemState(HashMap<N,Map<K,ACC>> stateMap) |
KvState<K,N,ListState<V>,ListStateDescriptor<V>,MemoryStateBackend> |
MemListState.Snapshot.createMemState(HashMap<N,Map<K,ArrayList<V>>> stateMap) |
abstract KvState<K,N,S,SD,MemoryStateBackend> |
AbstractMemStateSnapshot.createMemState(HashMap<N,Map<K,SV>> stateMap) |
KvState<K,N,ValueState<V>,ValueStateDescriptor<V>,MemoryStateBackend> |
MemValueState.Snapshot.createMemState(HashMap<N,Map<K,V>> stateMap) |
KvState<K,N,ReducingState<V>,ReducingStateDescriptor<V>,MemoryStateBackend> |
MemReducingState.Snapshot.createMemState(HashMap<N,Map<K,V>> stateMap) |
KvState<K,N,S,SD,MemoryStateBackend> |
AbstractMemStateSnapshot.restoreState(MemoryStateBackend stateBackend,
TypeSerializer<K> keySerializer,
ClassLoader classLoader) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.