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, getType, readFields, toDouble, toFloat, toInt, toLong, write, writeType
public RecordReader createReader(InputSplit split, Configuration conf) throws IOException, InterruptedException
InputFormat
split
- the split to readIOException
InterruptedException
Copyright © 2020. All rights reserved.