org.apache.nutch.indexer.solr
Class SolrDeleteDuplicates.SolrRecordReader
java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
org.apache.nutch.indexer.solr.SolrDeleteDuplicates.SolrRecordReader
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- SolrDeleteDuplicates
public static class SolrDeleteDuplicates.SolrRecordReader
- extends RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolrDeleteDuplicates.SolrRecordReader
public SolrDeleteDuplicates.SolrRecordReader(org.apache.solr.common.SolrDocumentList solrDocs,
int numDocs)
initialize
public void initialize(InputSplit split,
TaskAttemptContext context)
throws IOException,
InterruptedException
- Specified by:
initialize
in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
- Throws:
IOException
InterruptedException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
- Throws:
IOException
getProgress
public float getProgress()
throws IOException
- Specified by:
getProgress
in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
- Throws:
IOException
getCurrentKey
public Text getCurrentKey()
throws IOException,
InterruptedException
- Specified by:
getCurrentKey
in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
- Throws:
IOException
InterruptedException
getCurrentValue
public SolrDeleteDuplicates.SolrRecord getCurrentValue()
throws IOException,
InterruptedException
- Specified by:
getCurrentValue
in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
- Throws:
IOException
InterruptedException
nextKeyValue
public boolean nextKeyValue()
throws IOException,
InterruptedException
- Specified by:
nextKeyValue
in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
- Throws:
IOException
InterruptedException
Copyright © 2012 The Apache Software Foundation