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.heap | |
org.apache.flink.runtime.state.heap.async | |
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 . |
<T> ListState<T> |
KeyedStateStore.getListState(ListStateDescriptor<T> stateProperties)
Gets a handle to the system's key/value list state.
|
<S> ListState<S> |
OperatorStateStore.getOperatorState(ListStateDescriptor<S> stateDescriptor)
Creates (or restores) a list state.
|
<T extends Serializable> |
OperatorStateStore.getSerializableListState(String stateName)
Creates a state of the given name that uses Java serialization to persist the state.
|
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> |
RocksDBKeyedStateBackend.createListState(TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<T> stateDesc) |
Modifier and Type | Class and Description |
---|---|
class |
GenericListState<N,T,W extends ValueState<ArrayList<T>> & KvState<N>>
Generic implementation of
ListState based on a wrapped ValueState . |
Modifier and Type | Method and Description |
---|---|
protected abstract <N,T> ListState<T> |
AbstractKeyedStateBackend.createListState(TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<T> stateDesc)
Creates and returns a new
ListState . |
<S> ListState<S> |
DefaultOperatorStateBackend.getBroadcastOperatorState(ListStateDescriptor<S> stateDescriptor) |
<T extends Serializable> |
DefaultOperatorStateBackend.getBroadcastSerializableListState(String stateName) |
<T> ListState<T> |
DefaultKeyedStateStore.getListState(ListStateDescriptor<T> stateProperties) |
<S> ListState<S> |
DefaultOperatorStateBackend.getOperatorState(ListStateDescriptor<S> stateDescriptor) |
<T extends Serializable> |
DefaultOperatorStateBackend.getSerializableListState(String stateName) |
Modifier and Type | Class and Description |
---|---|
class |
HeapListState<K,N,V>
Heap-backed partitioned
ListState that is snapshotted
into files. |
Modifier and Type | Method and Description |
---|---|
<N,T> ListState<T> |
HeapKeyedStateBackend.createListState(TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<T> stateDesc) |
Modifier and Type | Method and Description |
---|---|
<N,T> ListState<T> |
AsyncHeapKeyedStateBackend.createListState(TypeSerializer<N> namespaceSerializer,
ListStateDescriptor<T> stateDesc) |
Modifier and Type | Method and Description |
---|---|
<T> ListState<T> |
StreamingRuntimeContext.getListState(ListStateDescriptor<T> stateProperties) |
Constructor and Description |
---|
MergingWindowSet(MergingWindowAssigner<?,W> windowAssigner,
ListState<Tuple2<W,W>> state)
Restores a
MergingWindowSet from the given state. |
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,
long allowedLateness) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.