public class AvroInputFormat<T> extends FileInputFormat<AvroWrapper<T>,NullWritable>
InputFormat
for Avro data filesFileInputFormat.Counter
LOG
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, setMinSplitSize
protected FileStatus[] listStatus(JobConf job) throws IOException
listStatus
in class FileInputFormat<AvroWrapper<T>,NullWritable>
IOException
public 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>
IOException
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.