public interface SequenceRecordReader extends RecordReader
APPEND_LABEL, LABELS, NAME_SPACE| 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 |
getLabels, hasNext, initialize, initialize, next, record, resetgetConf, setConfCollection<Collection<Writable>> sequenceRecord()
Collection<Collection<Writable>> sequenceRecord(URI uri, DataInputStream dataInputStream) throws IOException
RecordReader.next() the internal state of the RecordReader is not modified
Implementations of this method should not close the DataInputStreamIOException - if error occurs during reading from the input streamCopyright © 2016. All rights reserved.