![]() |
A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
|
#include <RecordIterator.h>
Collaboration diagram for RecordIterator:Public Member Functions | |
| RecordIterator (PDBPagePtr page) | |
| ~RecordIterator () | |
| Record< Object > * | next () |
| bool | hasNext () |
Private Attributes | |
| PDBPagePtr | page |
| int | numObjectsInCurPage |
| char * | curPosInPage |
| int | numObjectsIterated |
This class wraps an iterator to scan records in a page.
Definition at line 36 of file RecordIterator.h.
| RecordIterator::RecordIterator | ( | PDBPagePtr | page | ) |
Definition at line 25 of file RecordIterator.cc.
| RecordIterator::~RecordIterator | ( | ) |
Definition at line 33 of file RecordIterator.cc.
| bool RecordIterator::hasNext | ( | ) |
Returns true, if there is more objects in the page, otherwise returns false.
Definition at line 54 of file RecordIterator.cc.
Returns a pointer to a Record. Returns nullptr, if there is no more record in the page.
Definition at line 35 of file RecordIterator.cc.
|
private |
Definition at line 56 of file RecordIterator.h.
|
private |
Definition at line 55 of file RecordIterator.h.
|
private |
Definition at line 57 of file RecordIterator.h.
|
private |
Definition at line 54 of file RecordIterator.h.