Package | Description |
---|---|
org.apache.flink.api.common.functions | |
org.apache.flink.api.common.functions.util | |
org.apache.flink.api.common.state | |
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.api.operators | |
org.apache.flink.streaming.runtime.operators.windowing |
This package contains the operators that implement the various window operations
on data streams.
|
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 |
---|---|
ListState<T> |
ListStateDescriptor.bind(StateBackend stateBackend) |
<T> ListState<T> |
StateBackend.createListState(ListStateDescriptor<T> stateDesc)
Creates and returns a new
ListState . |
Modifier and Type | Class and Description |
---|---|
class |
RocksDBListState<K,N,V>
ListState implementation that stores state in RocksDB. |
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) |
Modifier and Type | Method and Description |
---|---|
protected AbstractRocksDBState.AbstractRocksDBSnapshot<K,N,ListState<V>,ListStateDescriptor<V>> |
RocksDBListState.createRocksDBSnapshot(URI backupUri,
long checkpointId) |
Modifier and Type | Class and Description |
---|---|
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 . |
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 |
---|---|
KvStateSnapshot<K,N,ListState<T>,ListStateDescriptor<T>,Backend> |
GenericListState.snapshot(long checkpointId,
long timestamp) |
Modifier and Type | Class and Description |
---|---|
class |
FsListState<K,N,V>
Heap-backed partitioned
ListState that is snapshotted
into files. |
Modifier and Type | Method and Description |
---|---|
<N,T> ListState<T> |
FsStateBackend.createListState(TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<T> stateDesc) |
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 | Class and Description |
---|---|
class |
MemListState<K,N,V>
Heap-backed partitioned
ListState that is snapshotted
into a serialized memory copy. |
Modifier and Type | Method and Description |
---|---|
<N,T> ListState<T> |
MemoryStateBackend.createListState(TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<T> stateDesc) |
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 |
---|---|
<T> ListState<T> |
StreamingRuntimeContext.getListState(ListStateDescriptor<T> stateProperties) |
Constructor and Description |
---|
EvictingWindowOperator(WindowAssigner<? super IN,W> windowAssigner,
TypeSerializer<W> windowSerializer,
KeySelector<IN,K> keySelector,
TypeSerializer<K> keySerializer,
StateDescriptor<? extends ListState<StreamRecord<IN>>,?> windowStateDescriptor,
InternalWindowFunction<Iterable<IN>,OUT,K,W> windowFunction,
Trigger<? super IN,? super W> trigger,
Evictor<? super IN,? super W> evictor) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.