org.apache.solr.hadoop
Class SolrMapper<KEYIN,VALUEIN>

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,SolrInputDocumentWritable>
      extended by org.apache.solr.hadoop.SolrMapper<KEYIN,VALUEIN>
Direct Known Subclasses:
MorphlineMapper

public class SolrMapper<KEYIN,VALUEIN>
extends org.apache.hadoop.mapreduce.Mapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,SolrInputDocumentWritable>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
 
Constructor Summary
SolrMapper()
           
 
Method Summary
protected  org.apache.hadoop.fs.Path getSolrHomeDir()
           
protected  void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, map, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrMapper

public SolrMapper()
Method Detail

setup

protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
              throws IOException,
                     InterruptedException
Overrides:
setup in class org.apache.hadoop.mapreduce.Mapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,SolrInputDocumentWritable>
Throws:
IOException
InterruptedException

getSolrHomeDir

protected org.apache.hadoop.fs.Path getSolrHomeDir()


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.