public interface Reducer
Modifier and Type | Method and Description |
---|---|
void |
reduce(String key,
Iterator<String[]> records,
Output output)
Reduce.
|
void reduce(String key, Iterator<String[]> records, Output output) throws Exception
key
- key (first column) for this set of records.records
- Iterator of records for this key. Note that the first column of
record will also be the key.output
- Exception
Copyright © 2019 The Apache Software Foundation. All rights reserved.