getDelegateRecordReader
public org.apache.hadoop.mapred.RecordReader<PointWritable,org.apache.hadoop.io.NullWritable> getDelegateRecordReader(org.apache.hadoop.mapred.FileSplit split,
org.apache.hadoop.mapred.JobConf conf,
org.apache.hadoop.mapred.Reporter reporter)
throws java.io.IOException
Creates a record reader instance. The returned record instance can be a wrapper of the internalInputFormat's record reader. This method is called after getRecordReader(). If the internalInputFormat is a CombineFileInputFormat subclass, this method can be called as many times as paths are contained in the CombineFileSplits.
- Specified by:
getDelegateRecordReader
in class CompositeInputFormat<PointWritable,org.apache.hadoop.io.NullWritable>
- Parameters:
split
- a FileSplit instance
conf
- the job configuration
reporter
- a Reporter instance
- Returns:
- a RecordReader instance.
- Throws:
java.io.IOException