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
IOException
protected void closeMap() throws IOException
IOException
public void configure(org.apache.hadoop.mapred.JobConf _jc)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
protected abstract void configureReduce() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
protected abstract void closeReduce() throws IOException
IOException
Terrier 4.0. Copyright © 2004-2014 University of Glasgow