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 <PageIterator.h>
Public Member Functions | |
virtual | ~PageIteratorInterface () |
virtual PDBPagePtr | next ()=0 |
virtual bool | hasNext ()=0 |
There can be a lot of different containers to store pages. Like file, input buffer, receive buffer, cache and etc. This class wraps a unified interface for implementing various page iterators.
Definition at line 41 of file PageIterator.h.
|
inlinevirtual |
Definition at line 47 of file PageIterator.h.
|
pure virtual |
If there is more page, return true, otherwise return false.
Implemented in SetCachePageIterator, PartitionPageIterator, PageCircularBufferIterator, and FileSetPageIterator.
|
pure virtual |
To return the next page. If there is no more page, return nullptr.
Implemented in SetCachePageIterator, PageCircularBufferIterator, PartitionPageIterator, and FileSetPageIterator.