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.queryablestate.client.state | |
org.apache.flink.runtime.state | |
org.apache.flink.runtime.state.heap |
This package contains the classes for key/value state backends that store the state
on the JVM heap as objects.
|
org.apache.flink.streaming.api.datastream | |
org.apache.flink.streaming.api.functions.co | |
org.apache.flink.streaming.api.operators | |
org.apache.flink.streaming.api.operators.co | |
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 |
---|---|
<UK,UV> MapState<UK,UV> |
RuntimeContext.getMapState(MapStateDescriptor<UK,UV> stateProperties)
Gets a handle to the system's key/value map state.
|
Modifier and Type | Method and Description |
---|---|
<UK,UV> MapState<UK,UV> |
AbstractRuntimeUDFContext.getMapState(MapStateDescriptor<UK,UV> stateProperties) |
Modifier and Type | Method and Description |
---|---|
<MK,MV> MapState<MK,MV> |
StateBinder.createMapState(MapStateDescriptor<MK,MV> stateDesc)
Creates and returns a new
MapState . |
<K,V> BroadcastState<K,V> |
OperatorStateStore.getBroadcastState(MapStateDescriptor<K,V> stateDescriptor)
Creates (or restores) a
broadcast state . |
<UK,UV> MapState<UK,UV> |
KeyedStateStore.getMapState(MapStateDescriptor<UK,UV> stateProperties)
Gets a handle to the system's key/value map state.
|
Modifier and Type | Method and Description |
---|---|
protected <N,UK,UV> InternalMapState<K,N,UK,UV> |
RocksDBKeyedStateBackend.createMapState(TypeSerializer<N> namespaceSerializer,
MapStateDescriptor<UK,UV> stateDesc) |
Modifier and Type | Method and Description |
---|---|
<MK,MV> MapState<MK,MV> |
ImmutableStateBinder.createMapState(MapStateDescriptor<MK,MV> stateDesc) |
static <K,V> ImmutableMapState<K,V> |
ImmutableMapState.createState(MapStateDescriptor<K,V> stateDescriptor,
byte[] serializedState) |
Modifier and Type | Method and Description |
---|---|
protected abstract <N,UK,UV> InternalMapState<K,N,UK,UV> |
AbstractKeyedStateBackend.createMapState(TypeSerializer<N> namespaceSerializer,
MapStateDescriptor<UK,UV> stateDesc)
Creates and returns a new
MapState . |
<K,V> BroadcastState<K,V> |
DefaultOperatorStateBackend.getBroadcastState(MapStateDescriptor<K,V> stateDescriptor) |
<UK,UV> MapState<UK,UV> |
DefaultKeyedStateStore.getMapState(MapStateDescriptor<UK,UV> stateProperties) |
Modifier and Type | Method and Description |
---|---|
protected <N,UK,UV> InternalMapState<K,N,UK,UV> |
HeapKeyedStateBackend.createMapState(TypeSerializer<N> namespaceSerializer,
MapStateDescriptor<UK,UV> stateDesc) |
Modifier and Type | Method and Description |
---|---|
List<MapStateDescriptor<?,?>> |
BroadcastStream.getBroadcastStateDescriptor() |
Modifier and Type | Method and Description |
---|---|
BroadcastStream<T> |
DataStream.broadcast(MapStateDescriptor<?,?>... broadcastStateDescriptors)
Sets the partitioning of the
DataStream so that the output elements
are broadcasted to every parallel instance of the next operation. |
Constructor and Description |
---|
BroadcastStream(StreamExecutionEnvironment env,
DataStream<T> input,
MapStateDescriptor<?,?>... broadcastStateDescriptors) |
Constructor and Description |
---|
BroadcastConnectedStream(StreamExecutionEnvironment env,
DataStream<IN1> input1,
BroadcastStream<IN2> input2,
List<MapStateDescriptor<?,?>> broadcastStateDescriptors) |
Modifier and Type | Method and Description |
---|---|
abstract <K,V> BroadcastState<K,V> |
BaseBroadcastProcessFunction.Context.getBroadcastState(MapStateDescriptor<K,V> stateDescriptor)
Fetches the
BroadcastState with the specified name. |
abstract <K,V> ReadOnlyBroadcastState<K,V> |
BaseBroadcastProcessFunction.ReadOnlyContext.getBroadcastState(MapStateDescriptor<K,V> stateDescriptor)
Fetches a read-only view of the broadcast state with the specified name.
|
Modifier and Type | Method and Description |
---|---|
<UK,UV> MapState<UK,UV> |
StreamingRuntimeContext.getMapState(MapStateDescriptor<UK,UV> stateProperties) |
Constructor and Description |
---|
CoBroadcastWithKeyedOperator(KeyedBroadcastProcessFunction<KS,IN1,IN2,OUT> function,
List<MapStateDescriptor<?,?>> broadcastStateDescriptors) |
CoBroadcastWithNonKeyedOperator(BroadcastProcessFunction<IN1,IN2,OUT> function,
List<MapStateDescriptor<?,?>> broadcastStateDescriptors) |
Modifier and Type | Method and Description |
---|---|
<UK,UV> MapState<UK,UV> |
WindowOperator.MergingWindowStateStore.getMapState(MapStateDescriptor<UK,UV> stateProperties) |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.