public static class WordCountWithHadoopOutputFormat.CountWords extends ReduceFunction implements Serializable
1
in the record. The other fields are not modified.| Constructor and Description |
|---|
CountWords() |
| Modifier and Type | Method and Description |
|---|---|
void |
combine(Iterator<eu.stratosphere.types.Record> records,
eu.stratosphere.util.Collector<eu.stratosphere.types.Record> out) |
void |
reduce(Iterator<eu.stratosphere.types.Record> records,
eu.stratosphere.util.Collector<eu.stratosphere.types.Record> out) |
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextpublic void reduce(Iterator<eu.stratosphere.types.Record> records, eu.stratosphere.util.Collector<eu.stratosphere.types.Record> out) throws Exception
reduce in interface eu.stratosphere.api.common.functions.GenericGroupReduce<eu.stratosphere.types.Record,eu.stratosphere.types.Record>reduce in class ReduceFunctionExceptionpublic void combine(Iterator<eu.stratosphere.types.Record> records, eu.stratosphere.util.Collector<eu.stratosphere.types.Record> out) throws Exception
combine in interface eu.stratosphere.api.common.functions.GenericCombine<eu.stratosphere.types.Record>combine in class ReduceFunctionExceptionCopyright © 2013–2014. All rights reserved.