Modifier and Type | Method and Description |
---|---|
<T> ReducingState<T> |
RuntimeContext.getReducingState(ReducingStateDescriptor<T> stateProperties)
Gets a handle to the system's key/value list state.
|
Modifier and Type | Method and Description |
---|---|
<T> ReducingState<T> |
AbstractRuntimeUDFContext.getReducingState(ReducingStateDescriptor<T> stateProperties) |
Modifier and Type | Method and Description |
---|---|
ReducingState<T> |
ReducingStateDescriptor.bind(StateBackend stateBackend) |
<T> ReducingState<T> |
StateBackend.createReducingState(ReducingStateDescriptor<T> stateDesc)
Creates and returns a new
ReducingState . |
Modifier and Type | Class and Description |
---|---|
class |
RocksDBReducingState<K,N,V>
ReducingState implementation that stores state in RocksDB. |
Modifier and Type | Method and Description |
---|---|
protected <N,T> ReducingState<T> |
DbStateBackend.createReducingState(TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<T> stateDesc) |
protected <N,T> ReducingState<T> |
RocksDBStateBackend.createReducingState(TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<T> stateDesc) |
Modifier and Type | Method and Description |
---|---|
protected AbstractRocksDBState.AbstractRocksDBSnapshot<K,N,ReducingState<V>,ReducingStateDescriptor<V>> |
RocksDBReducingState.createRocksDBSnapshot(URI backupUri,
long checkpointId) |
Modifier and Type | Class and Description |
---|---|
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 |
---|---|
protected abstract <N,T> ReducingState<T> |
AbstractStateBackend.createReducingState(TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<T> stateDesc)
Creates and returns a new
ReducingState . |
Modifier and Type | Method and Description |
---|---|
KvStateSnapshot<K,N,ReducingState<T>,ReducingStateDescriptor<T>,Backend> |
GenericReducingState.snapshot(long checkpointId,
long timestamp) |
Modifier and Type | Class and Description |
---|---|
class |
FsReducingState<K,N,V>
Heap-backed partitioned
ReducingState that is
snapshotted into files. |
Modifier and Type | Method and Description |
---|---|
<N,T> ReducingState<T> |
FsStateBackend.createReducingState(TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<T> stateDesc) |
Modifier and Type | Method and Description |
---|---|
KvState<K,N,ReducingState<V>,ReducingStateDescriptor<V>,FsStateBackend> |
FsReducingState.Snapshot.createFsState(FsStateBackend backend,
HashMap<N,Map<K,V>> stateMap) |
KvStateSnapshot<K,N,ReducingState<V>,ReducingStateDescriptor<V>,FsStateBackend> |
FsReducingState.createHeapSnapshot(Path filePath) |
Modifier and Type | Class and Description |
---|---|
class |
MemReducingState<K,N,V>
Heap-backed partitioned
ReducingState that is
snapshotted into a serialized memory copy. |
Modifier and Type | Method and Description |
---|---|
<N,T> ReducingState<T> |
MemoryStateBackend.createReducingState(TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<T> stateDesc) |
Modifier and Type | Method and Description |
---|---|
KvStateSnapshot<K,N,ReducingState<V>,ReducingStateDescriptor<V>,MemoryStateBackend> |
MemReducingState.createHeapSnapshot(byte[] bytes) |
KvState<K,N,ReducingState<V>,ReducingStateDescriptor<V>,MemoryStateBackend> |
MemReducingState.Snapshot.createMemState(HashMap<N,Map<K,V>> stateMap) |
Modifier and Type | Method and Description |
---|---|
<T> ReducingState<T> |
StreamingRuntimeContext.getReducingState(ReducingStateDescriptor<T> stateProperties) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.