K1 - key 1V1 - value 1K2 - key 2V2 - value 2public abstract static class HadoopUtility.ReduceBase<K1,V1,K2,V2> extends Object implements org.apache.hadoop.mapred.Reducer<K1,V1,K2,V2>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.mapred.JobConf |
jc |
| Constructor and Description |
|---|
HadoopUtility.ReduceBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Called at end of map or reduce task.
|
protected void |
closeMap() |
protected abstract void |
closeReduce() |
void |
configure(org.apache.hadoop.mapred.JobConf _jc) |
protected void |
configureMap() |
protected abstract void |
configureReduce() |
protected void configureMap()
throws IOException
IOExceptionprotected void closeMap()
throws IOException
IOExceptionpublic void configure(org.apache.hadoop.mapred.JobConf _jc)
configure in interface org.apache.hadoop.mapred.JobConfigurableprotected abstract void configureReduce()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected abstract void closeReduce()
throws IOException
IOExceptionTerrier 4.0. Copyright © 2004-2014 University of Glasgow