MySQL  8.0.17
Source Code Documentation
table_function.h File Reference
#include <sys/types.h>
#include <array>
#include "field.h"
#include "json_dom.h"
#include "json_path.h"
#include "lex_string.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_table_map.h"
#include "psi_memory_key.h"
#include "sql/create_field.h"
#include "sql/enum_query_type.h"
#include "sql/mem_root_array.h"
#include "sql_list.h"
#include "table.h"

Go to the source code of this file.

Classes

class  Table_function
 Class representing a table function. More...
 
class  JT_data_source
 JT_data_source is used as a data source. More...
 
class  Json_table_column
 Column description for JSON_TABLE function. More...
 
class  Table_function_json
 

Macros

#define MAX_NESTED_PATH   16
 

Enumerations

enum  enum_jt_column { enum_jt_column::JTC_ORDINALITY, enum_jt_column::JTC_PATH, enum_jt_column::JTC_EXISTS, enum_jt_column::JTC_NESTED_PATH }
 Type of columns for JSON_TABLE function. More...
 
enum  enum_jtc_on : uint16 { enum_jtc_on::JTO_ERROR, enum_jtc_on::JTO_NULL, enum_jtc_on::JTO_DEFAULT, enum_jtc_on::JTO_IMPLICIT }
 Types of ON ERROR/ON EMPTY clause for JSON_TABLE function. More...
 
enum  jt_skip_reason { JTS_NONE = 0, JTS_EOD, JTS_SIBLING }
 Reason for skipping a NESTED PATH. More...
 

Macro Definition Documentation

◆ MAX_NESTED_PATH

#define MAX_NESTED_PATH   16

Enumeration Type Documentation

◆ enum_jt_column

enum enum_jt_column
strong

Type of columns for JSON_TABLE function.

Enumerator
JTC_ORDINALITY 
JTC_PATH 
JTC_EXISTS 
JTC_NESTED_PATH 

◆ enum_jtc_on

enum enum_jtc_on : uint16
strong

Types of ON ERROR/ON EMPTY clause for JSON_TABLE function.

Note
uint16 enum base limitation is necessary for YYSTYPE.
Enumerator
JTO_ERROR 
JTO_NULL 
JTO_DEFAULT 
JTO_IMPLICIT 

◆ jt_skip_reason

Reason for skipping a NESTED PATH.

Enumerator
JTS_NONE 
JTS_EOD 
JTS_SIBLING