MySQL 9.0.0
Source Code Documentation
RecIterator Class Reference

Use the page cursor to iterate over records in a block. More...

Public Member Functions

 RecIterator () 1=default
 Default constructor. More...
 
void open (buf_block_t *block) 1
 Position the cursor on the first user record. More...
 
void next () 1
 Move to the next record. More...
 
rec_tcurrent () 1
 
bool end () 1
 
bool remove (const dict_index_t *index, ulint *offsets) 1
 Remove the current record. More...
 

Private Attributes

page_cur_t m_cur
 

Detailed Description

Use the page cursor to iterate over records in a block.

Constructor & Destructor Documentation

◆ RecIterator()

RecIterator::RecIterator ( )
default

Default constructor.

Member Function Documentation

◆ current()

rec_t * RecIterator::current ( )
inline
Returns
the current record

◆ end()

bool RecIterator::end ( void  )
inline
Returns
true if cursor is at the end

◆ next()

void RecIterator::next ( void  )
inline

Move to the next record.

◆ open()

void RecIterator::open ( buf_block_t block)
inline

Position the cursor on the first user record.

◆ remove()

bool RecIterator::remove ( const dict_index_t index,
ulint offsets 
)
inline

Remove the current record.

Returns
true on success

Member Data Documentation

◆ m_cur

page_cur_t RecIterator::m_cur
private

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