Package | Description |
---|---|
org.apache.flink.contrib.streaming.state | |
org.apache.flink.runtime.query |
This package contains all KvState query related classes.
|
org.apache.flink.runtime.state | |
org.apache.flink.runtime.state.heap | |
org.apache.flink.runtime.state.heap.async |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRocksDBState<K,N,S extends State,SD extends StateDescriptor<S,V>,V>
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 | Method and Description |
---|---|
KvState<?> |
KvStateRegistry.getKvState(KvStateID kvStateId)
Returns the KvState instance identified by the given KvStateID or
null if none is registered. |
Modifier and Type | Method and Description |
---|---|
KvStateID |
KvStateRegistry.registerKvState(JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
KvState<?> kvState)
Registers the KvState instance and returns the assigned ID.
|
void |
TaskKvStateRegistry.registerKvState(KeyGroupRange keyGroupRange,
String registrationName,
KvState<?> kvState)
Registers the KvState instance at the KvStateRegistry.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericFoldingState<N,T,ACC,W extends ValueState<ACC> & KvState<N>>
Generic implementation of
FoldingState based on a wrapped ValueState . |
class |
GenericListState<N,T,W extends ValueState<ArrayList<T>> & KvState<N>>
Generic implementation of
ListState based on a wrapped ValueState . |
class |
GenericReducingState<N,T,W extends ValueState<T> & KvState<N>>
Generic implementation of
ReducingState based on a wrapped ValueState . |
Modifier and Type | Class and Description |
---|---|
class |
GenericFoldingState<N,T,ACC,W extends ValueState<ACC> & KvState<N>>
Generic implementation of
FoldingState based on a wrapped ValueState . |
class |
GenericListState<N,T,W extends ValueState<ArrayList<T>> & KvState<N>>
Generic implementation of
ListState based on a wrapped ValueState . |
class |
GenericReducingState<N,T,W extends ValueState<T> & KvState<N>>
Generic implementation of
ReducingState based on a wrapped ValueState . |
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,KvState<?>> |
AbstractKeyedStateBackend.keyValueStatesByName
So that we can give out state when the user uses the same key.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHeapState<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 |
HeapFoldingState<K,N,T,ACC>
Heap-backed partitioned
FoldingState that is
snapshotted into files. |
class |
HeapListState<K,N,V>
Heap-backed partitioned
ListState that is snapshotted
into files. |
class |
HeapReducingState<K,N,V>
Heap-backed partitioned
ReducingState that is
snapshotted into files. |
class |
HeapValueState<K,N,V>
Heap-backed partitioned
ValueState that is snapshotted
into files. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHeapMergingState<K,N,IN,OUT,SV,S extends State,SD extends StateDescriptor<S,?>>
Base class for
MergingState that is stored on the heap. |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.