public interface InputFormat extends Writable
| Modifier and Type | Method and Description |
|---|---|
RecordReader |
createReader(InputSplit split)
Creates a reader from an input split
|
RecordReader |
createReader(InputSplit split,
Configuration conf)
Creates a reader from an input split
|
RecordReader createReader(InputSplit split, Configuration conf) throws java.io.IOException, java.lang.InterruptedException
split - the split to readjava.io.IOExceptionjava.lang.InterruptedExceptionRecordReader createReader(InputSplit split) throws java.io.IOException, java.lang.InterruptedException
split - the split to readjava.io.IOExceptionjava.lang.InterruptedException