public class DynamicRecordReader<K,V> extends RecordReader<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Implementation of RecordReader::close().
|
K |
getCurrentKey()
Implementation of RecordReader::getCurrentKey().
|
V |
getCurrentValue()
Implementation of RecordReader::getCurrentValue().
|
float |
getProgress()
Implementation of RecordReader::getProgress().
|
void |
initialize(InputSplit inputSplit,
TaskAttemptContext taskAttemptContext)
Implementation for RecordReader::initialize().
|
boolean |
nextKeyValue()
Implementation of RecordReader::nextValue().
|
public void initialize(InputSplit inputSplit, TaskAttemptContext taskAttemptContext) throws IOException, InterruptedException
initialize in class RecordReader<K,V>inputSplit - The InputSplit for the map. Ignored entirely.taskAttemptContext - The AttemptContext.IOExceptionInterruptedExceptionpublic boolean nextKeyValue()
throws IOException,
InterruptedException
nextKeyValue in class RecordReader<K,V>IOExceptionInterruptedExceptionpublic K getCurrentKey() throws IOException, InterruptedException
getCurrentKey in class RecordReader<K,V>IOExceptionInterruptedExceptionpublic V getCurrentValue() throws IOException, InterruptedException
getCurrentValue in class RecordReader<K,V>IOExceptionInterruptedExceptionpublic float getProgress()
throws IOException,
InterruptedException
getProgress in class RecordReader<K,V>IOExceptionInterruptedExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class RecordReader<K,V>IOExceptionCopyright © 2018 CERN. All Rights Reserved.