Package | Description |
---|---|
org.apache.flink.api.common.functions | |
org.apache.flink.api.common.functions.util | |
org.apache.flink.api.common.state | |
org.apache.flink.queryablestate.client.state | |
org.apache.flink.runtime.state | |
org.apache.flink.runtime.state.internal |
This package holds the classes of the internal state type hierarchy.
|
org.apache.flink.streaming.api.functions.sink | |
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 |
---|---|
<S> ListState<S> |
OperatorStateStore.getListState(ListStateDescriptor<S> stateDescriptor)
Creates (or restores) a list state.
|
<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)
Deprecated.
since 1.3.0. This was deprecated as part of a refinement to the function names.
Please use
OperatorStateStore.getListState(ListStateDescriptor) instead. |
<T extends Serializable> |
OperatorStateStore.getSerializableListState(String stateName)
Deprecated.
since 1.3.0. Using Java serialization for persisting state is not encouraged.
Please use
OperatorStateStore.getListState(ListStateDescriptor) instead. |
<S> ListState<S> |
OperatorStateStore.getUnionListState(ListStateDescriptor<S> stateDescriptor)
Creates (or restores) a list state.
|
Modifier and Type | Class and Description |
---|---|
class |
ImmutableListState<V>
A read-only
ListState that does not allow for modifications. |
Modifier and Type | Method and Description |
---|---|
<S> ListState<S> |
DefaultOperatorStateBackend.getListState(ListStateDescriptor<S> stateDescriptor) |
<T> ListState<T> |
DefaultKeyedStateStore.getListState(ListStateDescriptor<T> stateProperties) |
<S> ListState<S> |
DefaultOperatorStateBackend.getOperatorState(ListStateDescriptor<S> stateDescriptor)
Deprecated.
This was deprecated as part of a refinement to the function names.
Please use
DefaultOperatorStateBackend.getListState(ListStateDescriptor) instead. |
<T extends Serializable> |
DefaultOperatorStateBackend.getSerializableListState(String stateName)
Deprecated.
Using Java serialization for persisting state is not encouraged.
Please use
DefaultOperatorStateBackend.getListState(ListStateDescriptor) instead. |
<S> ListState<S> |
DefaultOperatorStateBackend.getUnionListState(ListStateDescriptor<S> stateDescriptor) |
Modifier and Type | Interface and Description |
---|---|
interface |
InternalListState<K,N,T>
The peer to the
ListState in the internal state type hierarchy. |
Modifier and Type | Field and Description |
---|---|
protected ListState<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>> |
TwoPhaseCommitSinkFunction.state |
Modifier and Type | Method and Description |
---|---|
<T> ListState<T> |
StreamingRuntimeContext.getListState(ListStateDescriptor<T> stateProperties) |
Modifier and Type | Method and Description |
---|---|
<T> ListState<T> |
WindowOperator.MergingWindowStateStore.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,
OutputTag<IN> lateDataOutputTag) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.