ExternalSortSubStream Class Reference

Fetch interface implemented by sorter subcomponents which return intermediate results. More...

#include <ExternalSortSubStream.h>

Inheritance diagram for ExternalSortSubStream:

ExternalSortMerger ExternalSortRunAccessor ExternalSortRunLoader List of all members.

Public Member Functions

virtual ~ExternalSortSubStream ()
virtual ExternalSortFetchArraybindFetchArray ()=0
 Binds the fetch array which will be used implicitly by subsequent calls to fetch().
virtual ExternalSortRC fetch (uint nTuplesRequested)=0
 Fetches tuples via the previously bound fetch array.

Detailed Description

Fetch interface implemented by sorter subcomponents which return intermediate results.

Definition at line 58 of file ExternalSortSubStream.h.


Constructor & Destructor Documentation

virtual ExternalSortSubStream::~ExternalSortSubStream (  )  [inline, virtual]

Definition at line 61 of file ExternalSortSubStream.h.

00062     {
00063     }


Member Function Documentation

virtual ExternalSortFetchArray& ExternalSortSubStream::bindFetchArray (  )  [pure virtual]

Binds the fetch array which will be used implicitly by subsequent calls to fetch().

Returns:
bound fetch array

Implemented in ExternalSortMerger, ExternalSortRunAccessor, and ExternalSortRunLoader.

Referenced by ExternalSortOutput::setSubStream(), and ExternalSortRunAccessor::storeRun().

virtual ExternalSortRC ExternalSortSubStream::fetch ( uint  nTuplesRequested  )  [pure virtual]

Fetches tuples via the previously bound fetch array.

Parameters:
nTuplesRequested maximum number of tuples to be returned from fetch (actual count may be less at callee's discretion; this does not indicate end of stream)
Returns:
result of fetch (either EXTSORT_ENDOFDATA or EXTSORT_SUCCESS)

Implemented in ExternalSortMerger, ExternalSortRunAccessor, and ExternalSortRunLoader.

Referenced by ExternalSortOutput::fetch(), and ExternalSortRunAccessor::storeRun().


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