public static class SolrDeleteDuplicates.SolrRecordReader extends RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
| Constructor and Description |
|---|
SolrRecordReader(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 SolrRecordReader(SolrDocumentList solrDocs, int numDocs)
public void initialize(InputSplit split, TaskAttemptContext context) throws java.io.IOException, java.lang.InterruptedException
initialize in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>java.io.IOExceptionjava.lang.InterruptedExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>java.io.IOExceptionpublic float getProgress()
throws java.io.IOException
getProgress in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>java.io.IOExceptionpublic Text getCurrentKey() throws java.io.IOException, java.lang.InterruptedException
getCurrentKey in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>java.io.IOExceptionjava.lang.InterruptedExceptionpublic SolrDeleteDuplicates.SolrRecord getCurrentValue() throws java.io.IOException, java.lang.InterruptedException
getCurrentValue in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>java.io.IOExceptionjava.lang.InterruptedExceptionpublic boolean nextKeyValue()
throws java.io.IOException,
java.lang.InterruptedException
nextKeyValue in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2019 The Apache Software Foundation