MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InitialReceiverIdIterator Class Reference
Inheritance diagram for InitialReceiverIdIterator:
Collaboration diagram for InitialReceiverIdIterator:

Public Member Functions

 InitialReceiverIdIterator (NdbRootFragment rootFrags[], Uint32 cnt)
virtual const Uint32 * getNextWords (Uint32 &sz)
virtual void reset ()

Detailed Description

This iterator is used for inserting a sequence of receiver ids for the initial batch of a scan into a section via a GenericSectionPtr.

Definition at line 2810 of file NdbQueryOperation.cpp.

Member Function Documentation

const Uint32 * InitialReceiverIdIterator::getNextWords ( Uint32 &  sz)
virtual

Get next batch of receiver ids.

Parameters
szThis will be set to the number of receiver ids that have been put in the buffer (0 if end has been reached.)
Returns
Array of receiver ids (or NULL if end reached.

For the initial batch, we want to retrieve one batch for each fragment whether it is a sorted scan or not.

Implements GenericSectionIterator.

Definition at line 2853 of file NdbQueryOperation.cpp.

Here is the call graph for this function:


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