public class AvroInputFormat<T> extends org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<T>,org.apache.hadoop.io.NullWritable>
InputFormat
for Avro data filesConstructor and Description |
---|
AvroInputFormat() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapred.RecordReader<AvroWrapper<T>,org.apache.hadoop.io.NullWritable> |
getRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter) |
protected org.apache.hadoop.fs.FileStatus[] |
listStatus(org.apache.hadoop.mapred.JobConf job) |
protected org.apache.hadoop.fs.FileStatus[] listStatus(org.apache.hadoop.mapred.JobConf job) throws IOException
listStatus
in class org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<T>,org.apache.hadoop.io.NullWritable>
IOException
public org.apache.hadoop.mapred.RecordReader<AvroWrapper<T>,org.apache.hadoop.io.NullWritable> getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter) throws IOException
getRecordReader
in interface org.apache.hadoop.mapred.InputFormat<AvroWrapper<T>,org.apache.hadoop.io.NullWritable>
getRecordReader
in class org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<T>,org.apache.hadoop.io.NullWritable>
IOException
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.