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

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.Text,SolrDeleteDuplicates.SolrRecord>
      extended by org.apache.nutch.indexer.solr.SolrDeleteDuplicates.SolrInputFormat
Enclosing class:
SolrDeleteDuplicates

public static class SolrDeleteDuplicates.SolrInputFormat
extends org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.Text,SolrDeleteDuplicates.SolrRecord>


Constructor Summary
SolrDeleteDuplicates.SolrInputFormat()
           
 
Method Summary
 org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,SolrDeleteDuplicates.SolrRecord> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context)
           
 List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context)
           
 
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 List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context)
                                                       throws IOException,
                                                              InterruptedException
Specified by:
getSplits in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.Text,SolrDeleteDuplicates.SolrRecord>
Throws:
IOException
InterruptedException

createRecordReader

public org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,SolrDeleteDuplicates.SolrRecord> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
                                                                                                                              org.apache.hadoop.mapreduce.TaskAttemptContext context)
                                                                                                                       throws IOException,
                                                                                                                              InterruptedException
Specified by:
createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.Text,SolrDeleteDuplicates.SolrRecord>
Throws:
IOException
InterruptedException


Copyright © 2013 The Apache Software Foundation