public class SVMLightInputFormat extends BaseInputFormat
Constructor and Description |
---|
SVMLightInputFormat() |
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
|
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
public RecordReader createReader(InputSplit split) throws IOException, InterruptedException
InputFormat
createReader
in interface InputFormat
createReader
in class BaseInputFormat
split
- the split to readIOException
InterruptedException
Copyright © 2020. All rights reserved.