public class CSVSequenceRecordReader extends FileRecordReader implements SequenceRecordReader
appendLabel, conf, currentFile, inputSplit, iter, labelsAPPEND_LABEL, LABELS, NAME_SPACE| Constructor and Description |
|---|
CSVSequenceRecordReader() |
CSVSequenceRecordReader(int skipNumLines) |
CSVSequenceRecordReader(int skipNumLines,
String delimiter) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Collection<Writable>> |
sequenceRecord()
Returns a sequence record`
|
Collection<Collection<Writable>> |
sequenceRecord(URI uri,
DataInputStream dataInputStream)
Load a sequence record from the given DataInputStream
Unlike
RecordReader.next() the internal state of the RecordReader is not modified
Implementations of this method should not close the DataInputStream |
close, doInitialize, getConf, getCurrentLabel, getLabels, hasNext, initialize, initialize, next, record, reset, setConf, setLabelsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLabels, hasNext, initialize, initialize, next, record, resetgetConf, setConfpublic CSVSequenceRecordReader()
public CSVSequenceRecordReader(int skipNumLines)
public CSVSequenceRecordReader(int skipNumLines,
String delimiter)
public Collection<Collection<Writable>> sequenceRecord(URI uri, DataInputStream dataInputStream) throws IOException
SequenceRecordReaderRecordReader.next() the internal state of the RecordReader is not modified
Implementations of this method should not close the DataInputStreamsequenceRecord in interface SequenceRecordReaderIOException - if error occurs during reading from the input streampublic Collection<Collection<Writable>> sequenceRecord()
SequenceRecordReadersequenceRecord in interface SequenceRecordReaderCopyright © 2016. All rights reserved.