public class SequenceFileInputFormat<K,V> extends FileInputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
InputFormat
for sequence files.FileInputFormat.Counter
INPUT_DIR_NONRECURSIVE_IGNORE_SUBDIRS, INPUT_DIR_RECURSIVE, LOG, NUM_INPUT_FILES
Constructor and Description |
---|
SequenceFileInputFormat() |
Modifier and Type | Method and Description |
---|---|
RecordReader<AvroWrapper<Pair<K,V>>,NullWritable> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter) |
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, listStatus, makeSplit, makeSplit, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize
public RecordReader<AvroWrapper<Pair<K,V>>,NullWritable> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws IOException
getRecordReader
in interface InputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
getRecordReader
in class FileInputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
IOException
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.