public class AvroInputFormat<T> extends FileInputFormat<AvroWrapper<T>,NullWritable>
InputFormat for Avro data filesFileInputFormat.CounterLOG| Constructor and Description |
|---|
AvroInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
RecordReader<AvroWrapper<T>,NullWritable> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter) |
protected FileStatus[] |
listStatus(JobConf job) |
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSizeprotected FileStatus[] listStatus(JobConf job) throws IOException
listStatus in class FileInputFormat<AvroWrapper<T>,NullWritable>IOExceptionpublic RecordReader<AvroWrapper<T>,NullWritable> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws IOException
getRecordReader in interface InputFormat<AvroWrapper<T>,NullWritable>getRecordReader in class FileInputFormat<AvroWrapper<T>,NullWritable>IOExceptionCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.