public class TextInputFormat extends BaseInputFormat
Constructor and Description |
---|
TextInputFormat() |
Modifier and Type | Method and Description |
---|---|
RecordReader |
createReader(InputSplit split,
Configuration conf)
Creates a reader from an input split
|
createReader, readFields, toDouble, toFloat, toInt, toLong, write
public RecordReader createReader(InputSplit split, Configuration conf) throws java.io.IOException, java.lang.InterruptedException
InputFormat
split
- the split to readjava.io.IOException
java.lang.InterruptedException