Package | Description |
---|---|
org.apache.flink.api.common.state | |
org.apache.flink.contrib.streaming.state | |
org.apache.flink.runtime.state | |
org.apache.flink.runtime.state.heap | |
org.apache.flink.streaming.api.functions.query | |
org.apache.flink.streaming.runtime.operators.windowing |
This package contains the operators that implement the various window operations
on data streams.
|
Modifier and Type | Interface and Description |
---|---|
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. |
Modifier and Type | Class and Description |
---|---|
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. |
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 | Class and Description |
---|---|
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. |
Constructor and Description |
---|
QueryableAppendingStateOperator(String registrationName,
StateDescriptor<? extends AppendingState<IN,?>,?> stateDescriptor) |
Modifier and Type | Field and Description |
---|---|
protected StateDescriptor<? extends AppendingState<IN,ACC>,?> |
WindowOperator.windowStateDescriptor |
Modifier and Type | Method and Description |
---|---|
StateDescriptor<? extends AppendingState<IN,ACC>,?> |
WindowOperator.getStateDescriptor() |
StateDescriptor<? extends AppendingState<IN,Iterable<IN>>,?> |
EvictingWindowOperator.getStateDescriptor() |
Constructor and Description |
---|
WindowOperator(WindowAssigner<? super IN,W> windowAssigner,
TypeSerializer<W> windowSerializer,
KeySelector<IN,K> keySelector,
TypeSerializer<K> keySerializer,
StateDescriptor<? extends AppendingState<IN,ACC>,?> windowStateDescriptor,
InternalWindowFunction<ACC,OUT,K,W> windowFunction,
Trigger<? super IN,? super W> trigger,
long allowedLateness)
Creates a new
WindowOperator based on the given policies and user functions. |
WindowOperator(WindowAssigner<? super IN,W> windowAssigner,
TypeSerializer<W> windowSerializer,
KeySelector<IN,K> keySelector,
TypeSerializer<K> keySerializer,
StateDescriptor<? extends AppendingState<IN,ACC>,?> windowStateDescriptor,
InternalWindowFunction<ACC,OUT,K,W> windowFunction,
Trigger<? super IN,? super W> trigger,
long allowedLateness,
LegacyWindowOperatorType legacyWindowOperatorType)
Creates a new
WindowOperator based on the given policies and user functions. |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.