public class SVMLightRecordReader extends LineRecordReader
conf, inputSplit, lineIndex, locations, splitIndexlistenersAPPEND_LABEL, LABELS, NAME_SPACE| Constructor and Description |
|---|
SVMLightRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
void |
initialize(Configuration conf,
InputSplit split) |
List<Writable> |
next()
next() method for getting another K/V pair off disk from the SVMLight text file
|
close, closeIfRequired, getConf, getIterator, getLabels, initialize, loadFromMetaData, loadFromMetaData, nextRecord, onLocationOpen, record, reset, setConfbatchesSupported, getListeners, invokeListeners, next, setListeners, setListenerspublic void initialize(Configuration conf, InputSplit split) throws IOException, InterruptedException
initialize in interface RecordReaderinitialize in class LineRecordReaderIOExceptionInterruptedExceptionpublic boolean hasNext()
hasNext in interface RecordReaderhasNext in class LineRecordReaderpublic List<Writable> next()
next in interface RecordReadernext in class LineRecordReaderCopyright © 2017. All rights reserved.