File show_scan.c
FileList > cubrid > src > query > show_scan.c
Go to the source code of this file
#include <cinttypes>
#include "config.h"
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "error_manager.h"
#include "memory_alloc.h"
#include "query_manager.h"
#include "object_primitive.h"
#include "object_representation.h"
#include "scan_manager.h"
#include "show_scan.h"
#include "disk_manager.h"
#include "log_manager.h"
#include "slotted_page.h"
#include "heap_file.h"
#include "btree.h"
#include "connection_support.hpp"
#include "critical_section.h"
#include "tz_support.h"
#include "db_date.h"
#include "network.h"
#include "porting.h"
#include "server_support.h"
#include "dbtype.h"
#include "thread_manager.hpp"
#include "memory_wrapper.hpp"
Classes
Public Types
Public Attributes
Public Static Attributes
Public Functions
| Type |
Name |
| SHOWSTMT_ARRAY_CONTEXT * |
showstmt_alloc_array_context (THREAD_ENTRY * thread_p, int num_total, int num_cols)
|
| DB_VALUE * |
showstmt_alloc_tuple_in_context (THREAD_ENTRY * thread_p, SHOWSTMT_ARRAY_CONTEXT * ctx)
|
| int |
showstmt_end_scan (THREAD_ENTRY * thread_p, SCAN_ID * s_id)
|
| void |
showstmt_free_array_context (THREAD_ENTRY * thread_p, SHOWSTMT_ARRAY_CONTEXT * ctx)
|
| SCAN_CODE |
showstmt_next_scan (THREAD_ENTRY * thread_p, SCAN_ID * s_id)
|
| void |
showstmt_scan_init (void)
|
| int |
showstmt_start_scan (THREAD_ENTRY * thread_p, SCAN_ID * s_id)
|
| int |
thread_start_scan (THREAD_ENTRY * thread_p, int type, DB_VALUE ** arg_values, int arg_cnt, void ** ptr)
|
Public Static Functions
Public Types Documentation
typedef END_SCAN_FUNC
typedef int(* END_SCAN_FUNC) (THREAD_ENTRY *thread_p, void **ctx);
typedef NEXT_SCAN_FUNC
typedef SCAN_CODE(* NEXT_SCAN_FUNC) (THREAD_ENTRY *thread_p, int cursor, DB_VALUE **out_values, int out_cnt, void *ctx);
typedef SHOW_REQUEST
typedef struct show_request SHOW_REQUEST;
typedef START_SCAN_FUNC
typedef int(* START_SCAN_FUNC) (THREAD_ENTRY *thread_p, int show_type, DB_VALUE **arg_values, int arg_cnt, void **ctx);
Public Attributes Documentation
variable THREAD_SCAN_COLUMN_COUNT
const size_t THREAD_SCAN_COLUMN_COUNT;
Public Static Attributes Documentation
variable show_Requests
SHOW_REQUEST show_Requests[SHOWSTMT_END];
variable show_scan_Inited
Public Functions Documentation
function showstmt_alloc_array_context
SHOWSTMT_ARRAY_CONTEXT * showstmt_alloc_array_context (
THREAD_ENTRY * thread_p,
int num_total,
int num_cols
)
function showstmt_alloc_tuple_in_context
DB_VALUE * showstmt_alloc_tuple_in_context (
THREAD_ENTRY * thread_p,
SHOWSTMT_ARRAY_CONTEXT * ctx
)
function showstmt_end_scan
int showstmt_end_scan (
THREAD_ENTRY * thread_p,
SCAN_ID * s_id
)
function showstmt_free_array_context
void showstmt_free_array_context (
THREAD_ENTRY * thread_p,
SHOWSTMT_ARRAY_CONTEXT * ctx
)
function showstmt_next_scan
SCAN_CODE showstmt_next_scan (
THREAD_ENTRY * thread_p,
SCAN_ID * s_id
)
function showstmt_scan_init
void showstmt_scan_init (
void
)
function showstmt_start_scan
int showstmt_start_scan (
THREAD_ENTRY * thread_p,
SCAN_ID * s_id
)
function thread_start_scan
int thread_start_scan (
THREAD_ENTRY * thread_p,
int type,
DB_VALUE ** arg_values,
int arg_cnt,
void ** ptr
)
Public Static Functions Documentation
function showstmt_array_end_scan
static int showstmt_array_end_scan (
THREAD_ENTRY * thread_p,
void ** ptr
)
function showstmt_array_next_scan
static SCAN_CODE showstmt_array_next_scan (
THREAD_ENTRY * thread_p,
int cursor,
DB_VALUE ** out_values,
int out_cnt,
void * ptr
)
function thread_scan_mapfunc
static void thread_scan_mapfunc (
THREAD_ENTRY & thread_ref,
bool & stop_mapper,
THREAD_ENTRY * caller_thread_p,
SHOWSTMT_ARRAY_CONTEXT * ctx,
int & error
)
The documentation for this class was generated from the following file cubrid/src/query/show_scan.c