CUBRID Engine  latest
show_meta.h File Reference
#include "config.h"
#include "dbtype_def.h"
#include "parse_tree.h"
Include dependency graph for show_meta.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  showstmt_column
 
struct  showstmt_column_orderby
 
struct  showstmt_named_arg
 
struct  showstmt_metadata
 

Typedefs

typedef struct showstmt_column SHOWSTMT_COLUMN
 
typedef struct showstmt_column_orderby SHOWSTMT_COLUMN_ORDERBY
 
typedef struct showstmt_named_arg SHOWSTMT_NAMED_ARG
 
typedef PT_NODE *(* SHOW_SEMANTIC_CHECK_FUNC) (PARSER_CONTEXT *parser, PT_NODE *node)
 
typedef struct showstmt_metadata SHOWSTMT_METADATA
 

Enumerations

enum  ARG_VALUE_TYPE { AVT_INTEGER, AVT_STRING, AVT_IDENTIFIER }
 

Functions

int showstmt_metadata_init (void)
 
void showstmt_metadata_final (void)
 
const SHOWSTMT_METADATAshowstmt_get_metadata (SHOWSTMT_TYPE show_type)
 
DB_ATTRIBUTEshowstmt_get_attributes (SHOWSTMT_TYPE show_type)
 

Typedef Documentation

typedef PT_NODE*(* SHOW_SEMANTIC_CHECK_FUNC) (PARSER_CONTEXT *parser, PT_NODE *node)

Definition at line 63 of file show_meta.h.

Definition at line 34 of file show_meta.h.

Definition at line 41 of file show_meta.h.

Definition at line 65 of file show_meta.h.

Definition at line 55 of file show_meta.h.

Enumeration Type Documentation

Enumerator
AVT_INTEGER 
AVT_STRING 
AVT_IDENTIFIER 

Definition at line 48 of file show_meta.h.

Function Documentation

DB_ATTRIBUTE* showstmt_get_attributes ( SHOWSTMT_TYPE  show_type)

Definition at line 753 of file show_meta.c.

References NULL, showstmt_metadata::showstmt_attrs, and showstmt_get_metadata().

Referenced by pt_get_all_showstmt_attributes_and_types().

Here is the caller graph for this function:

const SHOWSTMT_METADATA* showstmt_get_metadata ( SHOWSTMT_TYPE  show_type)

Definition at line 734 of file show_meta.c.

References assert_release, NULL, showstmt_metadata::show_type, SHOWSTMT_END, and SHOWSTMT_START.

Referenced by pt_make_query_showstmt(), pt_print_showstmt(), pt_semantic_check_local(), and showstmt_get_attributes().

Here is the caller graph for this function:

void showstmt_metadata_final ( void  )

Definition at line 994 of file show_meta.c.

References free_db_attribute_list(), i, and show_Inited.

Referenced by boot_client_all_finalize(), boot_initialize_client(), and boot_restart_client().

Here is the caller graph for this function: