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