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 |
---|---|
<T> ReducingState<T> |
StateBackend.createReducingState(ReducingStateDescriptor<T> stateDesc)
Creates and returns a new
ReducingState . |
Modifier and Type | Field and Description |
---|---|
protected ReducingStateDescriptor<V> |
RocksDBReducingState.stateDesc
This holds the name of the state and can create an initial default value for the state.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractRocksDBState.AbstractRocksDBSnapshot<K,N,ReducingState<V>,ReducingStateDescriptor<V>> |
RocksDBReducingState.createRocksDBSnapshot(URI backupUri,
long checkpointId) |
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) |
Constructor and Description |
---|
RocksDBReducingState(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<V> stateDesc,
File dbPath,
String backupPath,
org.rocksdb.Options options)
Creates a new
RocksDBReducingState . |
RocksDBReducingState(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<V> stateDesc,
File dbPath,
String backupPath,
String restorePath,
org.rocksdb.Options options)
Creates a
RocksDBReducingState by restoring from a directory. |
Modifier and Type | Method and Description |
---|---|
KvStateSnapshot<K,N,ReducingState<T>,ReducingStateDescriptor<T>,Backend> |
GenericReducingState.snapshot(long checkpointId,
long timestamp) |
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 |
---|---|
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 | Method and Description |
---|---|
<N,T> ReducingState<T> |
FsStateBackend.createReducingState(TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<T> stateDesc) |
Constructor and Description |
---|
FsReducingState(FsStateBackend backend,
TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<V> stateDesc)
Creates a new and empty partitioned state.
|
FsReducingState(FsStateBackend backend,
TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<V> stateDesc,
HashMap<N,Map<K,V>> state)
Creates a new key/value state with the given state contents.
|
Snapshot(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
TypeSerializer<V> stateSerializer,
ReducingStateDescriptor<V> stateDescs,
Path filePath) |
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 |
---|---|
<N,T> ReducingState<T> |
MemoryStateBackend.createReducingState(TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<T> stateDesc) |
Constructor and Description |
---|
MemReducingState(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<V> stateDesc) |
MemReducingState(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<V> stateDesc,
HashMap<N,Map<K,V>> state) |
Snapshot(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
TypeSerializer<V> stateSerializer,
ReducingStateDescriptor<V> stateDescs,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
<T> ReducingState<T> |
StreamingRuntimeContext.getReducingState(ReducingStateDescriptor<T> stateProperties) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.