public class ParallelMerge<OUT> extends RichCoFlatMapFunction<StreamWindow<OUT>,org.apache.flink.api.java.tuple.Tuple2<Integer,Integer>,StreamWindow<OUT>>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
numberOfDiscretizers |
| Constructor and Description |
|---|
ParallelMerge(org.apache.flink.api.common.functions.ReduceFunction<OUT> reducer) |
| Modifier and Type | Method and Description |
|---|---|
void |
flatMap1(StreamWindow<OUT> nextWindow,
org.apache.flink.util.Collector<StreamWindow<OUT>> out) |
void |
flatMap2(org.apache.flink.api.java.tuple.Tuple2<Integer,Integer> partInfo,
org.apache.flink.util.Collector<StreamWindow<OUT>> out) |
void |
open(org.apache.flink.configuration.Configuration conf) |
protected void |
updateCurrent(StreamWindow<OUT> current,
StreamWindow<OUT> nextWindow) |
protected Integer numberOfDiscretizers
public ParallelMerge(org.apache.flink.api.common.functions.ReduceFunction<OUT> reducer)
public void flatMap1(StreamWindow<OUT> nextWindow, org.apache.flink.util.Collector<StreamWindow<OUT>> out) throws Exception
Exceptionpublic void flatMap2(org.apache.flink.api.java.tuple.Tuple2<Integer,Integer> partInfo, org.apache.flink.util.Collector<StreamWindow<OUT>> out) throws Exception
Exceptionprotected void updateCurrent(StreamWindow<OUT> current, StreamWindow<OUT> nextWindow) throws Exception
Exceptionpublic void open(org.apache.flink.configuration.Configuration conf)
open in interface org.apache.flink.api.common.functions.RichFunctionopen in class org.apache.flink.api.common.functions.AbstractRichFunctionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.