org.apache.hadoop.mapreduce.lib.input
Class CombineTextInputFormat
java.lang.Object
org.apache.hadoop.mapreduce.InputFormat<K,V>
org.apache.hadoop.mapreduce.lib.input.FileInputFormat<K,V>
org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat<LongWritable,Text>
org.apache.hadoop.mapreduce.lib.input.CombineTextInputFormat
@InterfaceAudience.Public
@InterfaceStability.Stable
public class CombineTextInputFormat
- extends CombineFileInputFormat<LongWritable,Text>
Input format that is a CombineFileInputFormat
-equivalent for
TextInputFormat
.
- See Also:
CombineFileInputFormat
Methods inherited from class org.apache.hadoop.mapreduce.lib.input.FileInputFormat |
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, listStatus, makeSplit, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CombineTextInputFormat
public CombineTextInputFormat()
createRecordReader
public RecordReader<LongWritable,Text> createRecordReader(InputSplit split,
TaskAttemptContext context)
throws IOException
- Description copied from class:
CombineFileInputFormat
- This is not implemented yet.
- Specified by:
createRecordReader
in class CombineFileInputFormat<LongWritable,Text>
- Parameters:
split
- the split to be readcontext
- the information about the task
- Returns:
- a new record reader
- Throws:
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.