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.IOException
java.lang.InterruptedException
RecordReader createReader(InputSplit split) throws java.io.IOException, java.lang.InterruptedException
split
- the split to readjava.io.IOException
java.lang.InterruptedException