public interface RecordReader
Record
by an implementation of RecordSerDe ). It thus assumes the responsibility of
processing record boundaries and presenting the tasks with record Writable| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Writable |
createRecord()
Create an Writable of the appropriate type to be used as a record.
|
boolean |
next(Writable record)
Reads the next record as Writable from the input for processing.
|
Writable createRecord()
boolean next(Writable record) throws IOException
record - the Writable to read data intoIOExceptionvoid close()
throws IOException
IOExceptionCopyright © 2021 Alibaba Cloud Computing. All rights reserved.