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