public class ImageInputFormat extends BaseInputFormat
| Constructor and Description |
|---|
ImageInputFormat() |
| 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
|
readFields, toDouble, toFloat, toInt, toLong, writepublic RecordReader createReader(InputSplit split, Configuration conf) throws java.io.IOException, java.lang.InterruptedException
InputFormatsplit - the split to readjava.io.IOExceptionjava.lang.InterruptedExceptionpublic RecordReader createReader(InputSplit split) throws java.io.IOException, java.lang.InterruptedException
InputFormatcreateReader in interface InputFormatcreateReader in class BaseInputFormatsplit - the split to readjava.io.IOExceptionjava.lang.InterruptedException