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.IOException
java.lang.InterruptedException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
java.io.IOException
public float getProgress() throws java.io.IOException
getProgress
in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
java.io.IOException
public Text getCurrentKey() throws java.io.IOException, java.lang.InterruptedException
getCurrentKey
in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
java.io.IOException
java.lang.InterruptedException
public SolrDeleteDuplicates.SolrRecord getCurrentValue() throws java.io.IOException, java.lang.InterruptedException
getCurrentValue
in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
java.io.IOException
java.lang.InterruptedException
public boolean nextKeyValue() throws java.io.IOException, java.lang.InterruptedException
nextKeyValue
in class RecordReader<Text,SolrDeleteDuplicates.SolrRecord>
java.io.IOException
java.lang.InterruptedException
Copyright © 2019 The Apache Software Foundation