@InterfaceAudience.Public @InterfaceStability.Stable public interface ComposableInputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable> extends InputFormat<K,V>
| Modifier and Type | Method and Description |
|---|---|
ComposableRecordReader<K,V> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Get the
RecordReader for the given InputSplit. |
getSplitsComposableRecordReader<K,V> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws IOException
InputFormatRecordReader 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 in interface InputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>split - the InputSplitjob - the job that this split belongs toRecordReaderIOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.