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.state.api.input.operator.window | |
org.apache.flink.state.api.runtime | |
org.apache.flink.streaming.api.functions.sink | |
org.apache.flink.streaming.api.functions.sink.filesystem | |
org.apache.flink.streaming.api.operators | |
org.apache.flink.streaming.api.operators.util | |
org.apache.flink.streaming.api.runners.python.beam.state | |
org.apache.flink.streaming.runtime.operators.windowing |
This package contains the operators that implement the various window operations on data streams.
|
org.apache.flink.table.runtime.dataview |
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.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 | Class and Description |
---|---|
class |
PartitionableListState<S>
Implementation of operator list state.
|
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.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 | Method and Description |
---|---|
static <T> WindowContents<ListState<T>,T> |
WindowContents.listState() |
Modifier and Type | Method and Description |
---|---|
<T> ListState<T> |
SavepointRuntimeContext.getListState(ListStateDescriptor<T> stateProperties) |
Modifier and Type | Field and Description |
---|---|
protected ListState<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>> |
TwoPhaseCommitSinkFunction.state |
Modifier and Type | Method and Description |
---|---|
void |
Buckets.initializeState(ListState<byte[]> bucketStates,
ListState<Long> partCounterState)
Initializes the state after recovery from a failure.
|
void |
Buckets.initializeState(ListState<byte[]> bucketStates,
ListState<Long> partCounterState)
Initializes the state after recovery from a failure.
|
void |
Buckets.snapshotState(long checkpointId,
ListState<byte[]> bucketStatesContainer,
ListState<Long> partCounterStateContainer) |
void |
Buckets.snapshotState(long checkpointId,
ListState<byte[]> bucketStatesContainer,
ListState<Long> partCounterStateContainer) |
Modifier and Type | Method and Description |
---|---|
<T> ListState<T> |
StreamingRuntimeContext.getListState(ListStateDescriptor<T> stateProperties) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleVersionedListState<T>
|
Constructor and Description |
---|
SimpleVersionedListState(ListState<byte[]> rawState,
SimpleVersionedSerializer<T> serializer)
Creates a new SimpleVersionedListState that reads and writes bytes from the given raw
ListState with the given serializer.
|
Modifier and Type | Method and Description |
---|---|
ListState<byte[]> |
BeamKeyedStateStore.getListState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request) |
ListState<byte[]> |
BeamOperatorStateStore.getListState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
Currently list state and union-list state is not supported.
|
ListState<byte[]> |
BeamStateStore.getListState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
Parse
BeamFnApi.StateRequest and return the corresponding ListState . |
Modifier and Type | Method and Description |
---|---|
org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder |
BeamBagStateHandler.handleAppend(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request,
ListState<byte[]> listState) |
org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder |
BeamBagStateHandler.handleClear(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request,
ListState<byte[]> listState) |
org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder |
BeamBagStateHandler.handleGet(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request,
ListState<byte[]> listState) |
Constructor and Description |
---|
BeamStateRequestHandler(BeamStateStore keyedStateStore,
BeamStateStore operatorStateStore,
BeamStateHandler<ListState<byte[]>> bagStateHandler,
BeamStateHandler<MapState<ByteArrayWrapper,byte[]>> mapStateHandler) |
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) |
Modifier and Type | Method and Description |
---|---|
protected abstract ListState<EE> |
StateListView.getListState() |
protected ListState<T> |
StateListView.KeyedStateListView.getListState() |
protected ListState<T> |
StateListView.NamespacedStateListView.getListState() |
Constructor and Description |
---|
KeyedStateListView(ListState<T> listState) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.