org.apache.nutch.indexer.solr
Class SolrDeleteDuplicates.SolrInputFormat
java.lang.Object
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>
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 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