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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PageIteratorInterface Class Referenceabstract

#include <PageIterator.h>

+ Inheritance diagram for PageIteratorInterface:
+ Collaboration diagram for PageIteratorInterface:

Public Member Functions

virtual ~PageIteratorInterface ()
 
virtual PDBPagePtr next ()=0
 
virtual bool hasNext ()=0
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual PageIteratorInterface::~PageIteratorInterface ( )
inlinevirtual

Definition at line 47 of file PageIterator.h.

Member Function Documentation

virtual bool PageIteratorInterface::hasNext ( )
pure virtual

If there is more page, return true, otherwise return false.

Implemented in SetCachePageIterator, PartitionPageIterator, PageCircularBufferIterator, and FileSetPageIterator.

virtual PDBPagePtr PageIteratorInterface::next ( )
pure virtual

To return the next page. If there is no more page, return nullptr.

Implemented in SetCachePageIterator, PageCircularBufferIterator, PartitionPageIterator, and FileSetPageIterator.


The documentation for this class was generated from the following file: