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_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 java.io.IOException
createRecordReader
in class SequenceFileInputFormat<Text,MetaWrapper>
java.io.IOException
Copyright © 2018 The Apache Software Foundation