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, initialize
public AvroKey<T> getCurrentKey() throws IOException, InterruptedException
getCurrentKey
in class org.apache.hadoop.mapreduce.RecordReader<AvroKey<T>,org.apache.hadoop.io.NullWritable>
IOException
InterruptedException
public org.apache.hadoop.io.NullWritable getCurrentValue() throws IOException, InterruptedException
getCurrentValue
in class org.apache.hadoop.mapreduce.RecordReader<AvroKey<T>,org.apache.hadoop.io.NullWritable>
IOException
InterruptedException
public boolean nextKeyValue() throws IOException, InterruptedException
nextKeyValue
in class AvroTrevniRecordReaderBase<AvroKey<T>,org.apache.hadoop.io.NullWritable,T>
IOException
InterruptedException
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.