SegPageEntryIterSource< EntryT > Class Template Reference

SegPageEntryIterSource provides the callback method that supplies pre-fetch pageIds for SegPageEntryIter. More...

#include <SegPageEntryIterSource.h>

List of all members.

Public Member Functions

virtual ~SegPageEntryIterSource ()
virtual void initPrefetchEntry (EntryT &entry)
 Initializes a specific entry in the pre-fetch queue.
virtual PageId getNextPageForPrefetch (EntryT &entry, bool &found)=0
 Retrieves the next pageId to be pre-fetched, also filling in context- specific information associated with the page.


Detailed Description

template<class EntryT>
class SegPageEntryIterSource< EntryT >

SegPageEntryIterSource provides the callback method that supplies pre-fetch pageIds for SegPageEntryIter.

Definition at line 34 of file SegPageEntryIterSource.h.


Constructor & Destructor Documentation

template<class EntryT>
virtual SegPageEntryIterSource< EntryT >::~SegPageEntryIterSource (  )  [inline, virtual]

Definition at line 37 of file SegPageEntryIterSource.h.

00038     {
00039     }


Member Function Documentation

template<class EntryT>
virtual void SegPageEntryIterSource< EntryT >::initPrefetchEntry ( EntryT &  entry  )  [inline, virtual]

Initializes a specific entry in the pre-fetch queue.

Parameters:
entry the entry that will be initialized

Reimplemented in BTreePrefetchSearchExecStream.

Definition at line 46 of file SegPageEntryIterSource.h.

Referenced by SegPageEntryIter< EntryT >::setPrefetchSource().

00047     {
00048     }

template<class EntryT>
virtual PageId SegPageEntryIterSource< EntryT >::getNextPageForPrefetch ( EntryT &  entry,
bool &  found 
) [pure virtual]

Retrieves the next pageId to be pre-fetched, also filling in context- specific information associated with the page.

Parameters:
[in,out] entry the context-specific information to be filled in
[out] found true if a pageId has been found and should be added to the pre-fetch queue
Returns:
the prefetch pageId

Implemented in BTreePrefetchSearchExecStream, LcsClusterReader, and MockSegPageEntryIterSource.


The documentation for this class was generated from the following file:
Generated on Mon Jun 22 04:00:46 2009 for Fennel by  doxygen 1.5.1