|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<T>,NullWritable> org.apache.avro.mapred.AvroInputFormat<T>
public class AvroInputFormat<T>
An InputFormat
for Avro data files
Field Summary |
---|
Fields inherited from class org.apache.hadoop.mapred.FileInputFormat |
---|
LOG |
Constructor Summary | |
---|---|
AvroInputFormat()
|
Method Summary | |
---|---|
org.apache.hadoop.mapred.RecordReader<AvroWrapper<T>,NullWritable> |
getRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter)
|
protected FileStatus[] |
listStatus(org.apache.hadoop.mapred.JobConf job)
|
Methods inherited from class org.apache.hadoop.mapred.FileInputFormat |
---|
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvroInputFormat()
Method Detail |
---|
protected FileStatus[] listStatus(org.apache.hadoop.mapred.JobConf job) throws IOException
listStatus
in class org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<T>,NullWritable>
IOException
public org.apache.hadoop.mapred.RecordReader<AvroWrapper<T>,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>,NullWritable>
getRecordReader
in class org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<T>,NullWritable>
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |