public static class WordCountWithOutputFormat.CountWords extends ReduceFunction implements Serializable
1
in the record. The other fields are not modified.| Constructor and Description |
|---|
WordCountWithOutputFormat.CountWords() |
| Modifier and Type | Method and Description |
|---|---|
void |
combine(Iterator<org.apache.flink.types.Record> records,
org.apache.flink.util.Collector<org.apache.flink.types.Record> out) |
void |
reduce(Iterator<org.apache.flink.types.Record> records,
org.apache.flink.util.Collector<org.apache.flink.types.Record> out) |
public WordCountWithOutputFormat.CountWords()
public void reduce(Iterator<org.apache.flink.types.Record> records, org.apache.flink.util.Collector<org.apache.flink.types.Record> out) throws Exception
reduce in class ReduceFunctionExceptionpublic void combine(Iterator<org.apache.flink.types.Record> records, org.apache.flink.util.Collector<org.apache.flink.types.Record> out) throws Exception
combine in class ReduceFunctionExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.