public interface ComposableInputFormat<K extends WritableComparable,V extends Writable> extends InputFormat<K,V>
限定符和类型 | 方法和说明 |
---|---|
ComposableRecordReader<K,V> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Get the
RecordReader for the given InputSplit . |
getSplits
ComposableRecordReader<K,V> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws IOException
InputFormat
RecordReader
for the given InputSplit
.
It is the responsibility of the RecordReader
to respect
record boundaries while processing the logical split to present a
record-oriented view to the individual task.
getRecordReader
在接口中 InputFormat<K extends WritableComparable,V extends Writable>
split
- the InputSplit
job
- the job that this split belongs toRecordReader
IOException
Copyright © 2009 The Apache Software Foundation