Class AvroKeyValueRecordReader<K,V>

Type Parameters:
K - The type of the Avro key to read.
V - The type of the Avro value to read.
All Implemented Interfaces:
Closeable, AutoCloseable

public class AvroKeyValueRecordReader<K,V> extends AvroRecordReaderBase<AvroKey<K>,AvroValue<V>,GenericRecord>
Reads Avro generic records from an Avro container file, where the records contain two fields: 'key' and 'value'.

The contents of the 'key' field will be parsed into an AvroKey object. The contents of the 'value' field will be parsed into an AvroValue object.