MySQL  8.0.27
Source Code Documentation
PFSBatchMode Class Reference

A RAII class to handle turning on batch mode in front of scanning a row iterator, and then turn it back off afterwards (on destruction). More...

#include <pfs_batch_mode.h>

Public Member Functions

 PFSBatchMode (RowIterator *iterator)
 
 ~PFSBatchMode ()
 

Private Attributes

RowIteratorm_iterator
 

Detailed Description

A RAII class to handle turning on batch mode in front of scanning a row iterator, and then turn it back off afterwards (on destruction).

Use this when scanning an iterator, e.g. using a for loop. See the comments on RowIterator::StartPSIBatchMode for more details.

Constructor & Destructor Documentation

◆ PFSBatchMode()

PFSBatchMode::PFSBatchMode ( RowIterator iterator)
inlineexplicit

◆ ~PFSBatchMode()

PFSBatchMode::~PFSBatchMode ( )
inline

Member Data Documentation

◆ m_iterator

RowIterator* PFSBatchMode::m_iterator
private

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