| Package | Description |
|---|---|
| org.apache.flink.streaming.api.datastream | |
| org.apache.flink.streaming.api.functions.co | |
| org.apache.flink.streaming.api.operators.co |
| Modifier and Type | Method and Description |
|---|---|
protected <OUT> TwoInputStreamOperator<IN1,IN2,OUT> |
ConnectedDataStream.getReduceOperator(CoReduceFunction<IN1,IN2,OUT> coReducer) |
<OUT> SingleOutputStreamOperator<OUT,?> |
ConnectedDataStream.reduce(CoReduceFunction<IN1,IN2,OUT> coReducer)
Applies a reduce transformation on a
ConnectedDataStream and maps
the outputs to a common type. |
| Modifier and Type | Class and Description |
|---|---|
class |
RichCoReduceFunction<IN1,IN2,OUT>
A RichCoReduceFunction represents a Reduce transformation with two different input
types.
|
| Constructor and Description |
|---|
CoStreamGroupedReduce(CoReduceFunction<IN1,IN2,OUT> coReducer,
org.apache.flink.api.java.functions.KeySelector<IN1,?> keySelector1,
org.apache.flink.api.java.functions.KeySelector<IN2,?> keySelector2) |
CoStreamReduce(CoReduceFunction<IN1,IN2,OUT> coReducer) |
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.