MySQL 8.0.40
Source Code Documentation
|
The subclass of the multi-value row builder, for INSERT cases. More...
#include <row0row.h>
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_t * | begin (uint32_t pos=0) |
Get the first index entry. More... | |
dtuple_t * | next () |
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_t * | find_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 | |
dict_index_t * | m_index |
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... | |
dtuple_t * | m_entry |
Entry built for the index. More... | |
uint32_t | m_pos |
Multi-value data position. More... | |
const multi_value_data * | m_mv_data |
Multi-value data. More... | |
uint32_t | m_mv_field_no |
Field number of multi-value data on the index. More... | |
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
|
inline |
Constructor.
[in,out] | index | multi-value index |
[in] | entry | entry to insert based on the index |
|
inlineoverrideprivatevirtual |
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.
Implements Multi_value_entry_builder.