MySQL 8.4.2
Source Code Documentation
JT_data_source Class Reference

JT_data_source is used as a data source. More...

#include <table_function.h>

Public Member Functions

 JT_data_source ()
 
void cleanup ()
 

Public Attributes

Json_wrapper_vector v
 Vector of found values. More...
 
Json_wrapper_vector::iterator it
 Iterator for vector above. More...
 
Json_wrapper jdata
 JSON data to seek columns' paths in. More...
 
uint m_rowid
 Current m_rowid, used for ORDINALITY columns. More...
 
bool producing_records
 true <=> NESTED PATH associated with this element is producing records. More...
 

Detailed Description

JT_data_source is used as a data source.

It's assigned to each NESTED PATH node.

Constructor & Destructor Documentation

◆ JT_data_source()

JT_data_source::JT_data_source ( )
inline

Member Function Documentation

◆ cleanup()

void JT_data_source::cleanup ( void  )

Member Data Documentation

◆ it

Json_wrapper_vector::iterator JT_data_source::it

Iterator for vector above.

◆ jdata

Json_wrapper JT_data_source::jdata

JSON data to seek columns' paths in.

◆ m_rowid

uint JT_data_source::m_rowid

Current m_rowid, used for ORDINALITY columns.

◆ producing_records

bool JT_data_source::producing_records

true <=> NESTED PATH associated with this element is producing records.

Used to turn off (set to null) sibling NESTED PATHs, when one of them is used to fill result table.

◆ v

Json_wrapper_vector JT_data_source::v

Vector of found values.


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