Class AvroTrevniKeyInputFormat<T>

java.lang.Object
org.apache.hadoop.mapreduce.InputFormat<org.apache.avro.mapred.AvroKey<T>,NullWritable>
org.apache.hadoop.mapreduce.lib.input.FileInputFormat<org.apache.avro.mapred.AvroKey<T>,NullWritable>
org.apache.trevni.avro.mapreduce.AvroTrevniKeyInputFormat<T>

public class AvroTrevniKeyInputFormat<T> extends FileInputFormat<org.apache.avro.mapred.AvroKey<T>,NullWritable>
An InputFormat for Trevni files. This implement was modeled off AvroKeyInputFormat to allow for easy transition A MapReduce InputFormat that can handle Trevni container files.

Keys are AvroKey wrapper objects that contain the Trevni data. Since Trevni container files store only records (not key/value pairs), the value from this InputFormat is a NullWritable.

A subset schema to be read may be specified with AvroJob.setInputKeySchema(org.apache.hadoop.mapreduce.Job, org.apache.avro.Schema).