T - The (java) type of data in Trevni container file.public class AvroTrevniKeyRecordReader<T> extends AvroTrevniRecordReaderBase<AvroKey<T>,org.apache.hadoop.io.NullWritable,T>
| Constructor and Description |
|---|
AvroTrevniKeyRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
AvroKey<T> |
getCurrentKey() |
org.apache.hadoop.io.NullWritable |
getCurrentValue() |
boolean |
nextKeyValue() |
close, getCurrentRecord, getProgress, initializepublic AvroKey<T> getCurrentKey() throws IOException, InterruptedException
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<AvroKey<T>,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionpublic org.apache.hadoop.io.NullWritable getCurrentValue()
throws IOException,
InterruptedException
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<AvroKey<T>,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionpublic boolean nextKeyValue()
throws IOException,
InterruptedException
nextKeyValue in class AvroTrevniRecordReaderBase<AvroKey<T>,org.apache.hadoop.io.NullWritable,T>IOExceptionInterruptedExceptionCopyright © 2009–2020 The Apache Software Foundation. All rights reserved.