Modifier and Type | Method and Description |
---|---|
<T> ListState<T> |
RuntimeContext.getListState(ListStateDescriptor<T> stateProperties)
Gets a handle to the system's key/value list state.
|
Modifier and Type | Method and Description |
---|---|
<T> ListState<T> |
AbstractRuntimeUDFContext.getListState(ListStateDescriptor<T> stateProperties) |
Modifier and Type | Method and Description |
---|---|
<T> ListState<T> |
StateBackend.createListState(ListStateDescriptor<T> stateDesc)
Creates and returns a new
ListState . |
Modifier and Type | Field and Description |
---|---|
protected ListStateDescriptor<V> |
RocksDBListState.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,ListState<V>,ListStateDescriptor<V>> |
RocksDBListState.createRocksDBSnapshot(URI backupUri,
long checkpointId) |
Modifier and Type | Method and Description |
---|---|
protected <N,T> ListState<T> |
DbStateBackend.createListState(TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<T> stateDesc) |
protected <N,T> ListState<T> |
RocksDBStateBackend.createListState(TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<T> stateDesc) |
Constructor and Description |
---|
RocksDBListState(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<V> stateDesc,
File dbPath,
String backupPath,
org.rocksdb.Options options)
Creates a new
RocksDBListState . |
RocksDBListState(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<V> stateDesc,
File dbPath,
String backupPath,
String restorePath,
org.rocksdb.Options options)
Creates a
RocksDBListState by restoring from a directory. |
Modifier and Type | Method and Description |
---|---|
KvStateSnapshot<K,N,ListState<T>,ListStateDescriptor<T>,Backend> |
GenericListState.snapshot(long checkpointId,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
protected abstract <N,T> ListState<T> |
AbstractStateBackend.createListState(TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<T> stateDesc)
Creates and returns a new
ListState . |
Modifier and Type | Method and Description |
---|---|
KvState<K,N,ListState<V>,ListStateDescriptor<V>,FsStateBackend> |
FsListState.Snapshot.createFsState(FsStateBackend backend,
HashMap<N,Map<K,ArrayList<V>>> stateMap) |
KvStateSnapshot<K,N,ListState<V>,ListStateDescriptor<V>,FsStateBackend> |
FsListState.createHeapSnapshot(Path filePath) |
Modifier and Type | Method and Description |
---|---|
<N,T> ListState<T> |
FsStateBackend.createListState(TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<T> stateDesc) |
Constructor and Description |
---|
FsListState(FsStateBackend backend,
TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<V> stateDesc)
Creates a new and empty partitioned state.
|
FsListState(FsStateBackend backend,
TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<V> stateDesc,
HashMap<N,Map<K,ArrayList<V>>> state)
Creates a new key/value state with the given state contents.
|
Snapshot(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
TypeSerializer<ArrayList<V>> stateSerializer,
ListStateDescriptor<V> stateDescs,
Path filePath) |
Modifier and Type | Method and Description |
---|---|
KvStateSnapshot<K,N,ListState<V>,ListStateDescriptor<V>,MemoryStateBackend> |
MemListState.createHeapSnapshot(byte[] bytes) |
KvState<K,N,ListState<V>,ListStateDescriptor<V>,MemoryStateBackend> |
MemListState.Snapshot.createMemState(HashMap<N,Map<K,ArrayList<V>>> stateMap) |
Modifier and Type | Method and Description |
---|---|
<N,T> ListState<T> |
MemoryStateBackend.createListState(TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<T> stateDesc) |
Constructor and Description |
---|
MemListState(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<V> stateDesc) |
MemListState(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<V> stateDesc,
HashMap<N,Map<K,ArrayList<V>>> state) |
Snapshot(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
TypeSerializer<ArrayList<V>> stateSerializer,
ListStateDescriptor<V> stateDescs,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
<T> ListState<T> |
StreamingRuntimeContext.getListState(ListStateDescriptor<T> stateProperties) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.