Fennel: ExternalSortSubStream Class Reference (original) (raw)

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().