org.apache.nutch.indexer.solr
Class SolrDeleteDuplicates.SolrInputFormat

java.lang.Object
  extended by org.apache.nutch.indexer.solr.SolrDeleteDuplicates.SolrInputFormat
All Implemented Interfaces:
InputFormat<Text,SolrDeleteDuplicates.SolrRecord>
Enclosing class:
SolrDeleteDuplicates

public static class SolrDeleteDuplicates.SolrInputFormat
extends Object
implements InputFormat<Text,SolrDeleteDuplicates.SolrRecord>


Constructor Summary
SolrDeleteDuplicates.SolrInputFormat()
           
 
Method Summary
 RecordReader<Text,SolrDeleteDuplicates.SolrRecord> getRecordReader(InputSplit split, JobConf job, Reporter reporter)
           
 InputSplit[] getSplits(JobConf job, int numSplits)
          Return each index as a split.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrDeleteDuplicates.SolrInputFormat

public SolrDeleteDuplicates.SolrInputFormat()
Method Detail

getSplits

public InputSplit[] getSplits(JobConf job,
                              int numSplits)
                       throws IOException
Return each index as a split.

Specified by:
getSplits in interface InputFormat<Text,SolrDeleteDuplicates.SolrRecord>
Throws:
IOException

getRecordReader

public RecordReader<Text,SolrDeleteDuplicates.SolrRecord> getRecordReader(InputSplit split,
                                                                          JobConf job,
                                                                          Reporter reporter)
                                                                   throws IOException
Specified by:
getRecordReader in interface InputFormat<Text,SolrDeleteDuplicates.SolrRecord>
Throws:
IOException


Copyright © 2011 The Apache Software Foundation