Package | Description |
---|---|
org.apache.flink.api.common.state | |
org.apache.flink.contrib.streaming.state | |
org.apache.flink.migration.runtime.state | |
org.apache.flink.migration.runtime.state.filesystem | |
org.apache.flink.migration.runtime.state.memory | |
org.apache.flink.runtime.state | |
org.apache.flink.runtime.state.heap | |
org.apache.flink.runtime.state.heap.async | |
org.apache.flink.streaming.api.operators | |
org.apache.flink.streaming.api.windowing.triggers | |
org.apache.flink.streaming.runtime.operators.windowing |
This package contains the operators that implement the various window operations
on data streams.
|
Modifier and Type | Class and Description |
---|---|
class |
StateDescriptor<S extends State,T>
Base class for state descriptors.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AppendingState<IN,OUT>
Base interface for partitioned state that supports adding elements and inspecting the current
state.
|
interface |
FoldingState<T,ACC>
State interface for folding state. |
interface |
ListState<T>
State interface for partitioned list state in Operations. |
interface |
MergingState<IN,OUT>
Extension of
AppendingState that allows merging of state. |
interface |
ReducingState<T>
State interface for reducing state. |
interface |
ValueState<T>
State interface for partitioned single-value state. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRocksDBState<K,N,S extends State,SD extends StateDescriptor<S,V>,V>
Base class for
State implementations that store state in a RocksDB database. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRocksDBState<K,N,S extends State,SD extends StateDescriptor<S,V>,V>
Base class for
State implementations that store state in a RocksDB database. |
class |
RocksDBFoldingState<K,N,T,ACC>
FoldingState implementation that stores state in RocksDB. |
class |
RocksDBListState<K,N,V>
ListState implementation that stores state in RocksDB. |
class |
RocksDBReducingState<K,N,V>
ReducingState implementation that stores state in RocksDB. |
class |
RocksDBValueState<K,N,V>
ValueState implementation that stores state in RocksDB. |
Modifier and Type | Interface and Description |
---|---|
interface |
KvStateSnapshot<K,N,S extends State,SD extends StateDescriptor<S,?>>
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFsStateSnapshot<K,N,SV,S extends State,SD extends StateDescriptor<S,?>>
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMemStateSnapshot<K,N,SV,S extends State,SD extends StateDescriptor<S,?>>
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericFoldingState<N,T,ACC,W extends ValueState<ACC> & KvState<N>>
Generic implementation of
FoldingState based on a wrapped ValueState . |
class |
GenericListState<N,T,W extends ValueState<ArrayList<T>> & KvState<N>>
Generic implementation of
ListState based on a wrapped ValueState . |
class |
GenericReducingState<N,T,W extends ValueState<T> & KvState<N>>
Generic implementation of
ReducingState based on a wrapped ValueState . |
Modifier and Type | Method and Description |
---|---|
<N,S extends State> |
KeyedStateBackend.getPartitionedState(N namespace,
TypeSerializer<N> namespaceSerializer,
StateDescriptor<S,?> stateDescriptor)
Creates or retrieves a partitioned state backed by this state backend.
|
<N,S extends State> |
AbstractKeyedStateBackend.getPartitionedState(N namespace,
TypeSerializer<N> namespaceSerializer,
StateDescriptor<S,?> stateDescriptor) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHeapState<K,N,SV,S extends State,SD extends StateDescriptor<S,?>>
Base class for partitioned
ListState implementations that are backed by a regular
heap hash map. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHeapState<K,N,SV,S extends State,SD extends StateDescriptor<S,?>>
Base class for partitioned
ListState implementations that are backed by a regular
heap hash map. |
class |
HeapFoldingState<K,N,T,ACC>
Heap-backed partitioned
FoldingState that is
snapshotted into files. |
class |
HeapListState<K,N,V>
Heap-backed partitioned
ListState that is snapshotted
into files. |
class |
HeapReducingState<K,N,V>
Heap-backed partitioned
ReducingState that is
snapshotted into files. |
class |
HeapValueState<K,N,V>
Heap-backed partitioned
ValueState that is snapshotted
into files. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHeapMergingState<K,N,IN,OUT,SV,S extends State,SD extends StateDescriptor<S,?>>
Base class for
MergingState that is stored on the heap. |
class |
AbstractHeapState<K,N,SV,S extends State,SD extends StateDescriptor<S,?>>
Base class for partitioned
ListState implementations that are backed by a regular
heap hash map. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHeapMergingState<K,N,IN,OUT,SV,S extends State,SD extends StateDescriptor<S,?>>
Base class for
MergingState that is stored on the heap. |
Modifier and Type | Method and Description |
---|---|
protected <S extends State,N> |
AbstractStreamOperator.getPartitionedState(N namespace,
TypeSerializer<N> namespaceSerializer,
StateDescriptor<S,?> stateDescriptor)
Creates a partitioned state handle, using the state backend configured for this task.
|
protected <S extends State> |
AbstractStreamOperator.getPartitionedState(StateDescriptor<S,?> stateDescriptor)
Creates a partitioned state handle, using the state backend configured for this task.
|
Modifier and Type | Method and Description |
---|---|
<S extends State> |
Trigger.TriggerContext.getPartitionedState(StateDescriptor<S,?> stateDescriptor)
Retrieves a
State object that can be used to interact with
fault-tolerant state that is scoped to the window and key of the current
trigger invocation. |
Modifier and Type | Method and Description |
---|---|
<S extends State> |
WindowOperator.Context.getPartitionedState(StateDescriptor<S,?> stateDescriptor) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.