Package | Description |
---|---|
org.apache.flink.contrib.streaming.state | |
org.apache.flink.runtime.query | |
org.apache.flink.runtime.state | |
org.apache.flink.runtime.state.heap |
This package contains the classes for key/value state backends that store the state
on the JVM heap as objects.
|
org.apache.flink.runtime.state.internal |
This package holds the classes of the internal state type hierarchy.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRocksDBState<K,N,V,S extends State>
Base class for
State implementations that store state in a RocksDB database. |
class |
RocksDBAggregatingState<K,N,T,ACC,R>
An
AggregatingState implementation that stores state in RocksDB. |
class |
RocksDBFoldingState<K,N,T,ACC>
Deprecated.
will be removed in a future version
|
class |
RocksDBListState<K,N,V>
ListState implementation that stores state in RocksDB. |
class |
RocksDBMapState<K,N,UK,UV>
MapState 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 |
---|---|
InternalKvState<K,N,V> |
KvStateEntry.getState() |
Modifier and Type | Method and Description |
---|---|
KvStateID |
KvStateRegistry.registerKvState(JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
InternalKvState<?,?,?> kvState)
Registers the KvState instance and returns the assigned ID.
|
void |
TaskKvStateRegistry.registerKvState(KeyGroupRange keyGroupRange,
String registrationName,
InternalKvState<?,?,?> kvState)
Registers the KvState instance at the KvStateRegistry.
|
Constructor and Description |
---|
KvStateEntry(InternalKvState<K,N,V> state) |
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,InternalKvState<K,?,?>> |
AbstractKeyedStateBackend.keyValueStatesByName
So that we can give out state when the user uses the same key.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHeapMergingState<K,N,IN,SV,OUT,S extends State>
Base class for
MergingState (InternalMergingState ) that is stored on the heap. |
class |
AbstractHeapState<K,N,SV,S extends State>
Base class for partitioned
State implementations that are backed by a regular
heap hash map. |
class |
HeapAggregatingState<K,N,IN,ACC,OUT>
Heap-backed partitioned
AggregatingState that is
snapshotted into files. |
class |
HeapFoldingState<K,N,T,ACC>
Deprecated.
will be removed in a future version
|
class |
HeapListState<K,N,V>
Heap-backed partitioned
ListState that is snapshotted into files. |
class |
HeapMapState<K,N,UK,UV>
Heap-backed partitioned
MapState 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 | Interface and Description |
---|---|
interface |
InternalAggregatingState<K,N,IN,SV,OUT>
The peer to the
AggregatingState in the internal state type hierarchy. |
interface |
InternalAppendingState<K,N,IN,SV,OUT>
The peer to the
AppendingState in the internal state type hierarchy. |
interface |
InternalFoldingState<K,N,T,ACC>
Deprecated.
will be removed in a future version
|
interface |
InternalListState<K,N,T>
The peer to the
ListState in the internal state type hierarchy. |
interface |
InternalMapState<K,N,UK,UV>
The peer to the
MapState in the internal state type hierarchy. |
interface |
InternalMergingState<K,N,IN,SV,OUT>
The peer to the
MergingState in the internal state type hierarchy. |
interface |
InternalReducingState<K,N,T>
The peer to the
ReducingState in the internal state type hierarchy. |
interface |
InternalValueState<K,N,T>
The peer to the
ValueState in the internal state type hierarchy. |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.