public class PipeReducer extends PipeMapRed implements Reducer
LOG, outerrThreadsThrowable| Constructor and Description |
|---|
PipeReducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(JobConf job) |
byte[] |
getFieldSeparator()
Returns the field separator to be used.
|
byte[] |
getInputSeparator()
Returns the input separator to be used.
|
int |
getNumOfKeyFields()
Returns the number of key fields.
|
void |
reduce(Object key,
Iterator values,
OutputCollector output,
Reporter reporter) |
getClientInput, getClientOutput, getConfiguration, getContext, mapRedFinishedpublic void configure(JobConf job)
configure in interface JobConfigurableconfigure in class PipeMapRedpublic void reduce(Object key, Iterator values, OutputCollector output, Reporter reporter) throws IOException
reduce in interface ReducerIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic byte[] getInputSeparator()
PipeMapRedgetInputSeparator in class PipeMapRedpublic byte[] getFieldSeparator()
PipeMapRedgetFieldSeparator in class PipeMapRedpublic int getNumOfKeyFields()
PipeMapRedgetNumOfKeyFields in class PipeMapRedCopyright © 2018 CERN. All Rights Reserved.