protected class AvroSequenceFileInputFormat.AvroSequenceFileRecordReader extends RecordReader<K,V>
This class is based on Hadoop's SequenceFileRecordReader, modified to construct an AvroSequenceFile.Reader instead of a SequenceFile.Reader.
| Modifier | Constructor and Description | 
|---|---|
protected  | 
AvroSequenceFileInputFormat.AvroSequenceFileRecordReader()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close() | 
K | 
getCurrentKey() | 
V | 
getCurrentValue() | 
float | 
getProgress() | 
void | 
initialize(InputSplit split,
          TaskAttemptContext context) | 
boolean | 
nextKeyValue() | 
protected AvroSequenceFileInputFormat.AvroSequenceFileRecordReader()
public 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>IOExceptionInterruptedExceptionpublic K getCurrentKey()
getCurrentKey in class RecordReader<K,V>public V getCurrentValue()
getCurrentValue in class RecordReader<K,V>public float getProgress()
                  throws IOException
getProgress in class RecordReader<K,V>IOExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class RecordReader<K,V>IOExceptionCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.