MySQL 8.4.0
Source Code Documentation
Multi_value_entry_builder_insert Class Reference

The subclass of the multi-value row builder, for INSERT cases. More...

#include <row0row.h>

Inheritance diagram for Multi_value_entry_builder_insert:

Public Member Functions

 Multi_value_entry_builder_insert (dict_index_t *index, dtuple_t *entry)
 Constructor. More...
- Public Member Functions inherited from Multi_value_entry_builder
 Multi_value_entry_builder (dict_index_t *index, dtuple_t *entry, bool selected)
 Constructor. More...
virtual ~Multi_value_entry_builder ()=default
dtuple_tbegin (uint32_t pos=0)
 Get the first index entry. More...
dtuple_tnext ()
 Get next index entry based on next multi-value data. More...
uint32_t last_multi_value_position () const
 Get the position of last generated multi-value data. More...

Private Member Functions

dfield_tfind_multi_value_field () override
 Find the multi-value field from the passed entry in or row. More...

Additional Inherited Members

- Protected Member Functions inherited from Multi_value_entry_builder
virtual bool prepare_multi_value_field ()
 Prepare the corresponding multi-value field from the row. More...
virtual void prepare_entry_if_necessary ()
 Prepare the entry when the entry is not passed in. More...
virtual uint32_t skip ()
 Skip the not selected values and stop m_pos at the next selected one. More...
- Protected Attributes inherited from Multi_value_entry_builder
 Based on which index to build the entry. More...
const bool m_selected
 True if only the selected(bitmap set) multi-value data would be used to build the entries, otherwise false. More...
 Entry built for the index. More...
uint32_t m_pos
 Multi-value data position. More...
const multi_value_datam_mv_data
 Multi-value data. More...
uint32_t m_mv_field_no
 Field number of multi-value data on the index. More...

Detailed Description

The subclass of the multi-value row builder, for INSERT cases.

It simply replace the pointers to the multi-value field data for each different value

Constructor & Destructor Documentation

◆ Multi_value_entry_builder_insert()

Multi_value_entry_builder_insert::Multi_value_entry_builder_insert ( dict_index_t index,
dtuple_t entry 


[in,out]indexmulti-value index
[in]entryentry to insert based on the index

Member Function Documentation

◆ find_multi_value_field()

dfield_t * Multi_value_entry_builder_insert::find_multi_value_field ( )

Find the multi-value field from the passed entry in or row.

m_mv_field_no should be set once the multi-value field found.

the multi-value field pointer, or nullptr if not found

Implements Multi_value_entry_builder.

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