Class AvroKeyValueInputFormat<K,V>

Type Parameters:
K - The type of the Avro key to read.
V - The type of the Avro value to read.

public class AvroKeyValueInputFormat<K,V> extends FileInputFormat<AvroKey<K>,AvroValue<V>>
A MapReduce InputFormat that reads from Avro container files of key/value generic records.

Avro container files that container generic records with the two fields 'key' and 'value' are expected. The contents of the 'key' field will be used as the job input key, and the contents of the 'value' field will be used as the job output value.