gov.llnl.ontology.mapreduce.ingest
Class ParsedDocExtractorMR.ParsedDocExtractorMapper

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Result,KEYOUT,VALUEOUT>
      extended by org.apache.hadoop.hbase.mapreduce.TableMapper<K,V>
          extended by gov.llnl.ontology.mapreduce.CorpusTableMR.CorpusTableMapper<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
              extended by gov.llnl.ontology.mapreduce.ingest.ParsedDocExtractorMR.ParsedDocExtractorMapper
Enclosing class:
ParsedDocExtractorMR

public static class ParsedDocExtractorMR.ParsedDocExtractorMapper
extends CorpusTableMR.CorpusTableMapper<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>

The TableMapper responsible for the real work.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
 
Field Summary
static org.apache.hadoop.io.Text EMPTY
           
 
Fields inherited from class gov.llnl.ontology.mapreduce.CorpusTableMR.CorpusTableMapper
table
 
Constructor Summary
ParsedDocExtractorMR.ParsedDocExtractorMapper()
           
 
Method Summary
 void map(org.apache.hadoop.hbase.io.ImmutableBytesWritable rowKey, org.apache.hadoop.hbase.client.Result row, org.apache.hadoop.mapreduce.Mapper.Context context)
          
 
Methods inherited from class gov.llnl.ontology.mapreduce.CorpusTableMR.CorpusTableMapper
setup, setup
 
Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final org.apache.hadoop.io.Text EMPTY
Constructor Detail

ParsedDocExtractorMR.ParsedDocExtractorMapper

public ParsedDocExtractorMR.ParsedDocExtractorMapper()
Method Detail

map

public void map(org.apache.hadoop.hbase.io.ImmutableBytesWritable rowKey,
                org.apache.hadoop.hbase.client.Result row,
                org.apache.hadoop.mapreduce.Mapper.Context context)
         throws IOException,
                InterruptedException

Overrides:
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Result,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
Throws:
IOException
InterruptedException


Copyright © 2010-2011. All Rights Reserved.