| Package | Description |
|---|---|
| org.apache.flink.streaming.api.datastream | |
| org.apache.flink.streaming.api.transformations |
| Modifier and Type | Method and Description |
|---|---|
BroadcastStream<T> |
DataStream.broadcast(org.apache.flink.api.common.state.MapStateDescriptor<?,?>... broadcastStateDescriptors)
Sets the partitioning of the
DataStream so that the output elements
are broadcasted to every parallel instance of the next operation. |
BroadcastStream<IN2> |
BroadcastConnectedStream.getSecondInput()
Returns the
BroadcastStream. |
| Modifier and Type | Method and Description |
|---|---|
<R> BroadcastConnectedStream<T,R> |
DataStream.connect(BroadcastStream<R> broadcastStream)
Creates a new
BroadcastConnectedStream by connecting the current
DataStream or KeyedStream with a BroadcastStream. |
| Constructor and Description |
|---|
BroadcastConnectedStream(StreamExecutionEnvironment env,
DataStream<IN1> input1,
BroadcastStream<IN2> input2,
List<org.apache.flink.api.common.state.MapStateDescriptor<?,?>> broadcastStateDescriptors) |
| Modifier and Type | Method and Description |
|---|---|
static <IN1,IN2,OUT> |
BroadcastStateTransformation.forKeyedStream(String name,
KeyedStream<IN1,?> nonBroadcastStream,
BroadcastStream<IN2> broadcastStream,
StreamOperatorFactory<OUT> operatorFactory,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outTypeInfo,
int parallelism) |
static <IN1,IN2,OUT> |
BroadcastStateTransformation.forNonKeyedStream(String name,
DataStream<IN1> nonBroadcastStream,
BroadcastStream<IN2> broadcastStream,
StreamOperatorFactory<OUT> operatorFactory,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outTypeInfo,
int parallelism) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.