T - The (java) type of data in Avro container file.public class AvroKeyRecordReader<T> extends AvroRecordReaderBase<AvroKey<T>,NullWritable,T>
| Constructor and Description | 
|---|
AvroKeyRecordReader(Schema readerSchema)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AvroKey<T> | 
getCurrentKey() | 
NullWritable | 
getCurrentValue() | 
boolean | 
nextKeyValue() | 
close, createAvroFileReader, createSeekableInput, getCurrentRecord, getProgress, initializepublic AvroKeyRecordReader(Schema readerSchema)
readerSchema - The reader schema to use for the records in the Avro container file.public boolean nextKeyValue()
                     throws IOException,
                            InterruptedException
nextKeyValue in class AvroRecordReaderBase<AvroKey<T>,NullWritable,T>IOExceptionInterruptedExceptionpublic AvroKey<T> getCurrentKey() throws IOException, InterruptedException
getCurrentKey in class RecordReader<AvroKey<T>,NullWritable>IOExceptionInterruptedExceptionpublic NullWritable getCurrentValue() throws IOException, InterruptedException
getCurrentValue in class RecordReader<AvroKey<T>,NullWritable>IOExceptionInterruptedExceptionCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.