org.apache.nutch.indexer.solr
Class SolrDeleteDuplicates.SolrInputFormat
java.lang.Object
org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.Text,SolrDeleteDuplicates.SolrRecord>
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>
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 |
SolrDeleteDuplicates.SolrInputFormat
public SolrDeleteDuplicates.SolrInputFormat()
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