Package | Description |
---|---|
org.apache.flink.contrib.streaming.state | |
org.apache.flink.runtime.state | |
org.apache.flink.runtime.state.filesystem | |
org.apache.flink.runtime.state.memory | |
org.apache.flink.streaming.runtime.tasks |
This package contains classes that realize streaming tasks.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractRocksDBState.AbstractRocksDBSnapshot<K,N,S extends State,SD extends StateDescriptor<S,?>> |
Modifier and Type | Method and Description |
---|---|
KvStateSnapshot<K,N,S,SD,RocksDBStateBackend> |
AbstractRocksDBState.snapshot(long checkpointId,
long timestamp) |
Modifier and Type | Class and Description |
---|---|
class |
AsynchronousKvStateSnapshot<K,N,S extends State,SD extends StateDescriptor<S,?>,Backend extends AbstractStateBackend>
KvStateSnapshot that asynchronously materializes the state that it represents. |
Modifier and Type | Method and Description |
---|---|
abstract KvStateSnapshot<K,N,S,SD,Backend> |
AsynchronousKvStateSnapshot.materialize()
Materializes the state held by this
AsynchronousKvStateSnapshot . |
KvStateSnapshot<K,N,S,SD,Backend> |
KvState.snapshot(long checkpointId,
long timestamp)
Creates a snapshot of this state.
|
KvStateSnapshot<K,N,ReducingState<T>,ReducingStateDescriptor<T>,Backend> |
GenericReducingState.snapshot(long checkpointId,
long timestamp) |
KvStateSnapshot<K,N,ListState<T>,ListStateDescriptor<T>,Backend> |
GenericListState.snapshot(long checkpointId,
long timestamp) |
KvStateSnapshot<K,N,FoldingState<T,ACC>,FoldingStateDescriptor<T,ACC>,Backend> |
GenericFoldingState.snapshot(long checkpointId,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
HashMap<String,KvStateSnapshot<?,?,?,?,?>> |
AbstractStateBackend.snapshotPartitionedState(long checkpointId,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractStateBackend.injectKeyValueStateSnapshots(HashMap<String,KvStateSnapshot> keyValueStateSnapshots,
long recoveryTimestamp)
Injects K/V state snapshots for lazy restore.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFsStateSnapshot<K,N,SV,S extends State,SD extends StateDescriptor<S,?>>
A snapshot of a heap key/value state stored in a file.
|
static class |
FsFoldingState.Snapshot<K,N,T,ACC> |
static class |
FsListState.Snapshot<K,N,V> |
static class |
FsReducingState.Snapshot<K,N,V> |
static class |
FsValueState.Snapshot<K,N,V> |
Modifier and Type | Method and Description |
---|---|
KvStateSnapshot<K,N,ValueState<V>,ValueStateDescriptor<V>,FsStateBackend> |
FsValueState.createHeapSnapshot(Path filePath) |
KvStateSnapshot<K,N,ReducingState<V>,ReducingStateDescriptor<V>,FsStateBackend> |
FsReducingState.createHeapSnapshot(Path filePath) |
KvStateSnapshot<K,N,ListState<V>,ListStateDescriptor<V>,FsStateBackend> |
FsListState.createHeapSnapshot(Path filePath) |
KvStateSnapshot<K,N,FoldingState<T,ACC>,FoldingStateDescriptor<T,ACC>,FsStateBackend> |
FsFoldingState.createHeapSnapshot(Path filePath) |
abstract KvStateSnapshot<K,N,S,SD,FsStateBackend> |
AbstractFsState.createHeapSnapshot(Path filePath) |
KvStateSnapshot<K,N,S,SD,FsStateBackend> |
AbstractFsState.snapshot(long checkpointId,
long timestamp) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMemStateSnapshot<K,N,SV,S extends State,SD extends StateDescriptor<S,?>>
A snapshot of a
MemValueState for a checkpoint. |
static class |
MemFoldingState.Snapshot<K,N,T,ACC> |
static class |
MemListState.Snapshot<K,N,V> |
static class |
MemReducingState.Snapshot<K,N,V> |
static class |
MemValueState.Snapshot<K,N,V> |
Modifier and Type | Method and Description |
---|---|
KvStateSnapshot<K,N,ValueState<V>,ValueStateDescriptor<V>,MemoryStateBackend> |
MemValueState.createHeapSnapshot(byte[] bytes) |
KvStateSnapshot<K,N,ReducingState<V>,ReducingStateDescriptor<V>,MemoryStateBackend> |
MemReducingState.createHeapSnapshot(byte[] bytes) |
KvStateSnapshot<K,N,ListState<V>,ListStateDescriptor<V>,MemoryStateBackend> |
MemListState.createHeapSnapshot(byte[] bytes) |
KvStateSnapshot<K,N,FoldingState<T,ACC>,FoldingStateDescriptor<T,ACC>,MemoryStateBackend> |
MemFoldingState.createHeapSnapshot(byte[] bytes) |
abstract KvStateSnapshot<K,N,S,SD,MemoryStateBackend> |
AbstractMemState.createHeapSnapshot(byte[] bytes) |
KvStateSnapshot<K,N,S,SD,MemoryStateBackend> |
AbstractMemState.snapshot(long checkpointId,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
HashMap<String,KvStateSnapshot<?,?,?,?,?>> |
StreamTaskState.getKvStates() |
Modifier and Type | Method and Description |
---|---|
void |
StreamTaskState.setKvStates(HashMap<String,KvStateSnapshot<?,?,?,?,?>> kvStates) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.