@InterfaceAudience.Public @InterfaceStability.Stable public abstract class ComposableInputFormat<K extends WritableComparable<?>,V extends Writable> extends InputFormat<K,V>
| Constructor and Description |
|---|
ComposableInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
abstract ComposableRecordReader<K,V> |
createRecordReader(InputSplit split,
TaskAttemptContext context)
Create a record reader for a given split.
|
getSplitspublic ComposableInputFormat()
public abstract ComposableRecordReader<K,V> createRecordReader(InputSplit split, TaskAttemptContext context) throws IOException, InterruptedException
InputFormatRecordReader.initialize(InputSplit, TaskAttemptContext) before
the split is used.createRecordReader in class InputFormat<K extends WritableComparable<?>,V extends Writable>split - the split to be readcontext - the information about the taskIOExceptionInterruptedExceptionCopyright © 2018 Apache Software Foundation. All rights reserved.