MySQL 9.1.0
Source Code Documentation
ddl::Load_cursor Struct Reference

#include <ddl0impl-builder.h>

Inheritance diagram for ddl::Load_cursor:
[legend]

Public Member Functions

 Load_cursor (Builder *builder, Dup *dup) noexcept
 Default constructor. More...
 
virtual ~Load_cursor () override=default
 Default destructor. More...
 
dberr_t get_err () const noexcept
 
bool duplicates_detected () const noexcept override
 
- Public Member Functions inherited from Btree_load::Cursor
 Cursor ()=default
 Constructor. More...
 
virtual ~Cursor ()=default
 Destructor. More...
 
virtual dberr_t fetch (dtuple_t *&dtuple) noexcept=0
 Fetch the current row as a tuple. More...
 
virtual dberr_t next () noexcept=0
 Move to the next record. More...
 

Public Attributes

Dupm_dup {}
 Duplicate checking and reporting. More...
 
dberr_t m_err {DB_SUCCESS}
 Operation error code. More...
 
Builderm_builder {}
 Index meta data. More...
 
Scoped_heap m_tuple_heap {}
 Heap for the raw row to dtuple_t conversion. More...
 

Constructor & Destructor Documentation

◆ Load_cursor()

ddl::Load_cursor::Load_cursor ( Builder builder,
Dup dup 
)
inlineexplicitnoexcept

Default constructor.

◆ ~Load_cursor()

virtual ddl::Load_cursor::~Load_cursor ( )
overridevirtualdefault

Default destructor.

Member Function Documentation

◆ duplicates_detected()

bool ddl::Load_cursor::duplicates_detected ( ) const
overridevirtualnoexcept
Returns
true if duplicates detected.

Implements Btree_load::Cursor.

◆ get_err()

dberr_t ddl::Load_cursor::get_err ( ) const
inlinenoexcept
Returns
the cursor error status.

Member Data Documentation

◆ m_builder

Builder* ddl::Load_cursor::m_builder {}

Index meta data.

◆ m_dup

Dup* ddl::Load_cursor::m_dup {}

Duplicate checking and reporting.

◆ m_err

dberr_t ddl::Load_cursor::m_err {DB_SUCCESS}

Operation error code.

◆ m_tuple_heap

Scoped_heap ddl::Load_cursor::m_tuple_heap {}

Heap for the raw row to dtuple_t conversion.


The documentation for this struct was generated from the following files: