Modifier and Type | Method and Description |
---|---|
<T> ValueState<T> |
RuntimeContext.getState(ValueStateDescriptor<T> stateProperties)
Gets a handle to the system's key/value state.
|
Modifier and Type | Method and Description |
---|---|
<T> ValueState<T> |
AbstractRuntimeUDFContext.getState(ValueStateDescriptor<T> stateProperties) |
Modifier and Type | Method and Description |
---|---|
<T> ValueState<T> |
StateBackend.createValueState(ValueStateDescriptor<T> stateDesc)
Creates and returns a new
ValueState . |
Modifier and Type | Method and Description |
---|---|
protected <N,T> ValueState<T> |
RocksDBStateBackend.createValueState(TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<T> stateDesc) |
Constructor and Description |
---|
RocksDBValueState(org.rocksdb.ColumnFamilyHandle columnFamily,
TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<V> stateDesc,
RocksDBStateBackend backend)
Creates a new
RocksDBValueState . |
Modifier and Type | Class and Description |
---|---|
class |
GenericFoldingState<K,N,T,ACC,Backend extends AbstractStateBackend,W extends ValueState<ACC> & KvState<K,N,ValueState<ACC>,ValueStateDescriptor<ACC>,Backend>>
Generic implementation of
FoldingState based on a wrapped ValueState . |
class |
GenericListState<K,N,T,Backend extends AbstractStateBackend,W extends ValueState<ArrayList<T>> & KvState<K,N,ValueState<ArrayList<T>>,ValueStateDescriptor<ArrayList<T>>,Backend>>
Generic implementation of
ListState based on a wrapped ValueState . |
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> ValueState<T> |
AbstractStateBackend.createValueState(TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<T> stateDesc)
Creates and returns a new
ValueState . |
Modifier and Type | Method and Description |
---|---|
KvState<K,N,ValueState<V>,ValueStateDescriptor<V>,FsStateBackend> |
FsValueState.Snapshot.createFsState(FsStateBackend backend,
HashMap<N,Map<K,V>> stateMap) |
KvStateSnapshot<K,N,ValueState<V>,ValueStateDescriptor<V>,FsStateBackend> |
FsValueState.createHeapSnapshot(Path filePath) |
Modifier and Type | Method and Description |
---|---|
<N,V> ValueState<V> |
FsStateBackend.createValueState(TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<V> stateDesc) |
Constructor and Description |
---|
FsValueState(FsStateBackend backend,
TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<V> stateDesc)
Creates a new and empty key/value state.
|
FsValueState(FsStateBackend backend,
TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<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,
ValueStateDescriptor<V> stateDescs,
Path filePath) |
Modifier and Type | Method and Description |
---|---|
KvStateSnapshot<K,N,ValueState<V>,ValueStateDescriptor<V>,MemoryStateBackend> |
MemValueState.createHeapSnapshot(byte[] bytes) |
KvState<K,N,ValueState<V>,ValueStateDescriptor<V>,MemoryStateBackend> |
MemValueState.Snapshot.createMemState(HashMap<N,Map<K,V>> stateMap) |
Modifier and Type | Method and Description |
---|---|
<N,V> ValueState<V> |
MemoryStateBackend.createValueState(TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<V> stateDesc) |
Constructor and Description |
---|
MemValueState(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<V> stateDesc) |
MemValueState(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<V> stateDesc,
HashMap<N,Map<K,V>> state) |
Snapshot(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
TypeSerializer<V> stateSerializer,
ValueStateDescriptor<V> stateDescs,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
<T> ValueState<T> |
StreamingRuntimeContext.getState(ValueStateDescriptor<T> stateProperties) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.