Skip to content

File show_meta.c

FileList > cubrid > src > parser > show_meta.c

Go to the source code of this file

  • #include "config.h"
  • #include <assert.h>
  • #include <stdio.h>
  • #include <string.h>
  • #include <stdlib.h>
  • #include <limits.h>
  • #include <ctype.h>
  • #include "authenticate.h"
  • #include "show_meta.h"
  • #include "error_manager.h"
  • #include "parser.h"
  • #include "schema_manager.h"
  • #include "dbtype.h"
  • #include "error_code.h"
  • #include "db.h"

Public Types

Type Name
enum SHOW_ONLY_ALL
enum show__meta_8c_1a1e8054db89feba236b2235d16d0bd1ad
enum show__meta_8c_1a9b29769343da78881f442e657eb62b6e

Public Static Attributes

Type Name
bool show_Inited = [**false**](broker__monitor_8c.md#function-timeout)
SHOWSTMT_METADATA * show_Metas

Public Functions

Type Name
DB_ATTRIBUTE * showstmt_get_attributes (SHOWSTMT_TYPE show_type)
const SHOWSTMT_METADATA * showstmt_get_metadata (SHOWSTMT_TYPE show_type)
void showstmt_metadata_final (void)
int showstmt_metadata_init (void)

Public Static Functions

Type Name
void free_db_attribute_list (SHOWSTMT_METADATA * md)
int init_db_attribute_list (SHOWSTMT_METADATA * md)
SHOWSTMT_METADATA * metadata_of_access_status (void)
SHOWSTMT_METADATA * metadata_of_active_log_header (void)
SHOWSTMT_METADATA * metadata_of_archive_log_header (void)
SHOWSTMT_METADATA * metadata_of_full_timezones (void)
SHOWSTMT_METADATA * metadata_of_global_critical_sections (void)
SHOWSTMT_METADATA * metadata_of_heap_capacity (SHOW_ONLY_ALL flag)
SHOWSTMT_METADATA * metadata_of_heap_header (SHOW_ONLY_ALL flag)
SHOWSTMT_METADATA * metadata_of_index_capacity (SHOW_ONLY_ALL flag)
SHOWSTMT_METADATA * metadata_of_index_header (SHOW_ONLY_ALL flag)
SHOWSTMT_METADATA * metadata_of_job_queues (void)
SHOWSTMT_METADATA * metadata_of_page_buffer_status (void)
SHOWSTMT_METADATA * metadata_of_slotted_page_header (void)
SHOWSTMT_METADATA * metadata_of_slotted_page_slots (void)
SHOWSTMT_METADATA * metadata_of_threads (void)
SHOWSTMT_METADATA * metadata_of_timezones (void)
SHOWSTMT_METADATA * metadata_of_tran_tables (void)
SHOWSTMT_METADATA * metadata_of_volume_header (void)
PT_NODE * pt_check_access_status (PARSER_CONTEXT * parser, PT_NODE * node)
PT_NODE * pt_check_show_index (PARSER_CONTEXT * parser, PT_NODE * node)
PT_NODE * pt_check_table_in_show_heap (PARSER_CONTEXT * parser, PT_NODE * node)

Public Types Documentation

enum SHOW_ONLY_ALL

enum SHOW_ONLY_ALL {
    SHOW_ONLY,
    SHOW_ALL
};

enum show__meta_8c_1a1e8054db89feba236b2235d16d0bd1ad

enum show__meta_8c_1a1e8054db89feba236b2235d16d0bd1ad {
    ORDER_DESC = false,
    ORDER_ASC = true
};

enum show__meta_8c_1a9b29769343da78881f442e657eb62b6e

enum show__meta_8c_1a9b29769343da78881f442e657eb62b6e {
    ARG_REQUIRED = false,
    ARG_OPTIONAL = true
};

Public Static Attributes Documentation

variable show_Inited

bool show_Inited;

variable show_Metas

SHOWSTMT_METADATA* show_Metas[SHOWSTMT_END];

Public Functions Documentation

function showstmt_get_attributes

DB_ATTRIBUTE * showstmt_get_attributes (
    SHOWSTMT_TYPE show_type
) 

function showstmt_get_metadata

const  SHOWSTMT_METADATA * showstmt_get_metadata (
    SHOWSTMT_TYPE show_type
) 

function showstmt_metadata_final

void showstmt_metadata_final (
    void
) 

function showstmt_metadata_init

int showstmt_metadata_init (
    void
) 

Public Static Functions Documentation

function free_db_attribute_list

static void free_db_attribute_list (
    SHOWSTMT_METADATA * md
) 

function init_db_attribute_list

static int init_db_attribute_list (
    SHOWSTMT_METADATA * md
) 

function metadata_of_access_status

static SHOWSTMT_METADATA * metadata_of_access_status (
    void
) 

function metadata_of_active_log_header

static SHOWSTMT_METADATA * metadata_of_active_log_header (
    void
) 

function metadata_of_archive_log_header

static SHOWSTMT_METADATA * metadata_of_archive_log_header (
    void
) 

function metadata_of_full_timezones

static SHOWSTMT_METADATA * metadata_of_full_timezones (
    void
) 

function metadata_of_global_critical_sections

static SHOWSTMT_METADATA * metadata_of_global_critical_sections (
    void
) 

function metadata_of_heap_capacity

static SHOWSTMT_METADATA * metadata_of_heap_capacity (
    SHOW_ONLY_ALL flag
) 

function metadata_of_heap_header

static SHOWSTMT_METADATA * metadata_of_heap_header (
    SHOW_ONLY_ALL flag
) 

function metadata_of_index_capacity

static SHOWSTMT_METADATA * metadata_of_index_capacity (
    SHOW_ONLY_ALL flag
) 

function metadata_of_index_header

static SHOWSTMT_METADATA * metadata_of_index_header (
    SHOW_ONLY_ALL flag
) 

function metadata_of_job_queues

static SHOWSTMT_METADATA * metadata_of_job_queues (
    void
) 

function metadata_of_page_buffer_status

static SHOWSTMT_METADATA * metadata_of_page_buffer_status (
    void
) 

function metadata_of_slotted_page_header

static SHOWSTMT_METADATA * metadata_of_slotted_page_header (
    void
) 

function metadata_of_slotted_page_slots

static SHOWSTMT_METADATA * metadata_of_slotted_page_slots (
    void
) 

function metadata_of_threads

static SHOWSTMT_METADATA * metadata_of_threads (
    void
) 

function metadata_of_timezones

static SHOWSTMT_METADATA * metadata_of_timezones (
    void
) 

function metadata_of_tran_tables

static SHOWSTMT_METADATA * metadata_of_tran_tables (
    void
) 

function metadata_of_volume_header

static SHOWSTMT_METADATA * metadata_of_volume_header (
    void
) 

function pt_check_access_status

static PT_NODE * pt_check_access_status (
    PARSER_CONTEXT * parser,
    PT_NODE * node
) 

function pt_check_show_index

static PT_NODE * pt_check_show_index (
    PARSER_CONTEXT * parser,
    PT_NODE * node
) 

function pt_check_table_in_show_heap

static PT_NODE * pt_check_table_in_show_heap (
    PARSER_CONTEXT * parser,
    PT_NODE * node
) 


The documentation for this class was generated from the following file cubrid/src/parser/show_meta.c