public class FileSplitInputFormat extends CompositeInputFormat<NullWritable,FileSplit>
CompositeInputFormat that only provides the source FileSplits as its values so mapreduce components can read the data directly using its internal input format.| Constructor and Description |
|---|
FileSplitInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(JobConf conf) |
<any> |
getDelegateRecordReader(FileSplit split, JobConf conf, Reporter reporter)
Creates a record reader instance.
|
getFittingInputSplit, getInternalInputFormat, getInternalInputFormatClass, getRecordInfoProvider, getRecordInfoProviderClass, getRecordReader, getSplits, setInternalInputFormatClass, setRecordInfoProviderClasspublic void configure(JobConf conf)
configure in class CompositeInputFormat<NullWritable,FileSplit>
public <any> getDelegateRecordReader(FileSplit split,
JobConf conf,
Reporter reporter)
throws java.io.IOException
CompositeInputFormatgetDelegateRecordReader in class CompositeInputFormat<NullWritable,FileSplit>split - a FileSplit instanceconf - the job configurationreporter - a Reporter instancejava.io.IOExceptionCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.