Class to read from a RecordIO file. Will skip invalid records.
Synopsis
Declared in <folly/io/RecordIO.h>
class RecordIOReader;
Types
Name |
Description |
Forward iterator over the valid records in the file. |
Type Aliases
Name |
Description |
Const iterator over the valid records in the file. |
|
Const reference to a record value. |
|
RecordIOReader is iterable, returning pairs of ByteRange (record content) and position in file where the record (including header) begins. Note that the position includes the header, that is, it can be passed back to seek(). |
|
Reference to a record value. |
|
A record as a ByteRange paired with its file position. |
Member Functions
Name |
Description |
|
A record reader with a fileId of 0 will return all records. A record reader with a non‐zero fileId will only return records where the fileId matches. |
Returns an iterator to the first valid record. |
|
Returns a const iterator to the first valid record. |
|
Returns a const iterator past the last record. |
|
Returns an iterator past the last record. |
|
Create an iterator to the first valid record after pos. |
Created with MrDocs