public static class SegmentMerger.ObjectInputFormat extends SequenceFileInputFormat<Text,MetaWrapper>
MetaWrapper
, to permit merging different types
in reduce and use additional metadata.FileInputFormat.Counter
DEFAULT_LIST_STATUS_NUM_THREADS, INPUT_DIR, INPUT_DIR_NONRECURSIVE_IGNORE_SUBDIRS, INPUT_DIR_RECURSIVE, LIST_STATUS_NUM_THREADS, NUM_INPUT_FILES, PATHFILTER_CLASS, SPLIT_MAXSIZE, SPLIT_MINSIZE
Constructor and Description |
---|
ObjectInputFormat() |
Modifier and Type | Method and Description |
---|---|
RecordReader<Text,MetaWrapper> |
createRecordReader(InputSplit split,
TaskAttemptContext context) |
getFormatMinSplitSize, listStatus
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, isSplitable, makeSplit, makeSplit, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSize
public RecordReader<Text,MetaWrapper> createRecordReader(InputSplit split, TaskAttemptContext context) throws IOException
createRecordReader
in class SequenceFileInputFormat<Text,MetaWrapper>
IOException
Copyright © 2021 The Apache Software Foundation