Package 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.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapred.FileInputFormat
FileInputFormat.Counter
-
Field Summary
Fields inherited from class org.apache.hadoop.mapred.FileInputFormat
INPUT_DIR_NONRECURSIVE_IGNORE_SUBDIRS, INPUT_DIR_RECURSIVE, LOG, NUM_INPUT_FILES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRecordReader
(InputSplit split, JobConf job, Reporter reporter) Methods inherited from class org.apache.hadoop.mapred.FileInputFormat
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, listStatus, makeSplit, makeSplit, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize
-
Constructor Details
-
SequenceFileInputFormat
public SequenceFileInputFormat()
-
-
Method Details
-
getRecordReader
public RecordReader<AvroWrapper<Pair<K,V>>, getRecordReaderNullWritable> (InputSplit split, JobConf job, Reporter reporter) throws IOException - Specified by:
getRecordReader
in interfaceInputFormat<K,
V> - Specified by:
getRecordReader
in classFileInputFormat<AvroWrapper<Pair<K,
V>>, NullWritable> - Throws:
IOException
-