public class PositionalSequenceFileRecordReader<K,V> extends RecordReader<K,V>
| Constructor and Description |
|---|
PositionalSequenceFileRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
K |
getCurrentKey() |
V |
getCurrentValue() |
long |
getPosition() |
float |
getProgress() |
void |
initialize(InputSplit split,
TaskAttemptContext context) |
boolean |
nextKeyValue() |
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class RecordReader<K,V>IOExceptionpublic K getCurrentKey()
getCurrentKey in class RecordReader<K,V>public V getCurrentValue()
getCurrentValue in class RecordReader<K,V>public long getPosition()
throws IOException
IOExceptionpublic float getProgress()
throws IOException
getProgress in class RecordReader<K,V>IOExceptionpublic void initialize(InputSplit split, TaskAttemptContext context) throws IOException, InterruptedException
initialize in class RecordReader<K,V>IOExceptionInterruptedExceptionpublic boolean nextKeyValue()
throws IOException,
InterruptedException
nextKeyValue in class RecordReader<K,V>IOExceptionInterruptedException