org.apache.avro.mapred
Class SequenceFileInputFormat<K,V>
java.lang.Object
org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
org.apache.avro.mapred.SequenceFileInputFormat<K,V>
- All Implemented Interfaces:
- InputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
public class SequenceFileInputFormat<K,V>
- extends FileInputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
An InputFormat
for sequence files.
Methods inherited from class org.apache.hadoop.mapred.FileInputFormat |
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, listStatus, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceFileInputFormat
public SequenceFileInputFormat()
getRecordReader
public RecordReader<AvroWrapper<Pair<K,V>>,NullWritable> getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
throws IOException
- Specified by:
getRecordReader
in interface InputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
- Specified by:
getRecordReader
in class FileInputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
- Throws:
IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.