public static class SolrDeleteDuplicates.SolrRecordReader extends RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
| Constructor and Description |
|---|
SolrDeleteDuplicates.SolrRecordReader(org.apache.solr.common.SolrDocumentList solrDocs,
int numDocs) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Text |
getCurrentKey() |
SolrDeleteDuplicates.SolrRecord |
getCurrentValue() |
float |
getProgress() |
void |
initialize(InputSplit split,
TaskAttemptContext context) |
boolean |
nextKeyValue() |
public SolrDeleteDuplicates.SolrRecordReader(org.apache.solr.common.SolrDocumentList solrDocs,
int numDocs)
public void initialize(InputSplit split, TaskAttemptContext context) throws IOException, InterruptedException
initialize in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>IOExceptionInterruptedExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>IOExceptionpublic float getProgress()
throws IOException
getProgress in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>IOExceptionpublic Text getCurrentKey() throws IOException, InterruptedException
getCurrentKey in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>IOExceptionInterruptedExceptionpublic SolrDeleteDuplicates.SolrRecord getCurrentValue() throws IOException, InterruptedException
getCurrentValue in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>IOExceptionInterruptedExceptionpublic boolean nextKeyValue()
throws IOException,
InterruptedException
nextKeyValue in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>IOExceptionInterruptedExceptionCopyright © 2015 The Apache Software Foundation