| Package | Description |
|---|---|
| org.apache.flink.runtime.query |
This package contains all KvState query related classes.
|
| 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 | Method and Description |
|---|---|
InternalKvState<?> |
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,
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,InternalKvState<?>> |
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,OUT,SV,S extends State,SD extends StateDescriptor<S,?>>
Base class for
MergingState (InternalMergingState)
that is stored on the heap. |
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 |
HeapAggregatingState<K,N,IN,ACC,OUT>
Heap-backed partitioned
ReducingState 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<N,IN,OUT>
The peer to the
AggregatingState in the internal state type hierarchy. |
interface |
InternalAppendingState<N,IN,OUT>
The peer to the
AppendingState in the internal state type hierarchy. |
interface |
InternalFoldingState<N,T,ACC>
Deprecated.
will be removed in a future version
|
interface |
InternalListState<N,T>
The peer to the
ListState in the internal state type hierarchy. |
interface |
InternalMapState<N,UK,UV>
The peer to the
MapState in the internal state type hierarchy. |
interface |
InternalMergingState<N,IN,OUT>
The peer to the
MergingState in the internal state type hierarchy. |
interface |
InternalReducingState<N,T>
The peer to the
ReducingState in the internal state type hierarchy. |
interface |
InternalValueState<N,T>
The peer to the
ValueState in the internal state type hierarchy. |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.