public static class IndexingJob.IndexerMapper extends org.apache.gora.mapreduce.GoraMapper<String,WebPage,String,NutchDocument>
Mapper.Context| Modifier and Type | Field and Description |
|---|---|
protected org.apache.avro.util.Utf8 |
batchId |
IndexUtil |
indexUtil |
org.apache.gora.store.DataStore<String,WebPage> |
store |
| Constructor and Description |
|---|
IndexingJob.IndexerMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(Mapper.Context context) |
void |
map(String key,
WebPage page,
Mapper.Context context) |
void |
setup(Mapper.Context context) |
public IndexUtil indexUtil
protected org.apache.avro.util.Utf8 batchId
public void setup(Mapper.Context context) throws IOException
setup in class Mapper<String,WebPage,String,NutchDocument>IOExceptionprotected void cleanup(Mapper.Context context) throws IOException, InterruptedException
cleanup in class Mapper<String,WebPage,String,NutchDocument>IOExceptionInterruptedExceptionpublic void map(String key, WebPage page, Mapper.Context context) throws IOException, InterruptedException
map in class Mapper<String,WebPage,String,NutchDocument>IOExceptionInterruptedExceptionCopyright © 2015 The Apache Software Foundation