File dblink_scan.c
FileList > cubrid > src > query > dblink_scan.c
Go to the source code of this file
#include <string.h>
#include "query_executor.h"
#include "connection_defs.h"
#include "thread_manager.hpp"
#include "query_manager.h"
#include "dblink_scan.h"
#include "xasl.h"
#include "dbtype.h"
#include "object_primitive.h"
#include "object_representation.h"
#include "query_list.h"
#include "regu_var.hpp"
#include "db_date.h"
#include "tz_support.h"
#include <cas_cci.h>
#include <db_json.hpp>
#include "memory_wrapper.hpp"
Public Static Attributes
Public Functions
| Type |
Name |
| int |
dblink_close_scan (DBLINK_SCAN_INFO * scan_info, bool is_final)
|
| int |
dblink_end_tran (DBLINK_CONN_ENTRY * dblink, bool is_abort)
|
| int |
dblink_execute_query (THREAD_ENTRY * thread_p, struct access_spec_node * spec, VAL_DESCR * vd, DBLINK_HOST_VARS * host_vars)
|
| int |
dblink_open_scan (THREAD_ENTRY * thread_p, DBLINK_SCAN_INFO * scan_info, struct access_spec_node * spec, VAL_DESCR * vd, DBLINK_HOST_VARS * host_vars)
|
| SCAN_CODE |
dblink_scan_next (DBLINK_SCAN_INFO * scan_info, val_list_node * val_list)
|
| SCAN_CODE |
dblink_scan_reset (DBLINK_SCAN_INFO * scan_info)
|
Public Static Functions
| Type |
Name |
| int |
dblink_bind_param (int stmt_handle, VAL_DESCR * vd, DBLINK_HOST_VARS * host_vars)
|
| T_CCI_U_TYPE |
dblink_get_basic_utype (T_CCI_U_EXT_TYPE u_ext_type)
|
| int |
dblink_make_cci_value (DB_VALUE * cci_value, T_CCI_U_TYPE utype, void * val, int prec, int len, int codeset)
|
| int |
dblink_make_date_time (T_CCI_U_TYPE utype, DB_VALUE * value_p, T_CCI_DATE * date_time)
|
| int |
dblink_make_date_time_tz (T_CCI_U_TYPE utype, DB_VALUE * value_p, T_CCI_DATE_TZ * date_time_tz)
|
| char * |
print_utype_to_string (int type)
|
Macros
| Type |
Name |
| define |
DATETIME_DECODE (date, dt, m, d, y, hour, min, sec, msec) /* multi line expression */
|
| define |
DBDEF_HEADER_
|
| define |
MAX_LEN_CONNECTION_URL 512
|
| define |
NULL_CHECK (ind) [**if**](dynamic__load_8c.md#function-if) (([**ind**](broker__monitor_8c.md#function-timeout)) == -1) [**break**](broker__monitor_8c.md#function-timeout)
|
| define |
TIMESTAMP_DECODE (date, dt, tm, m, d, y, hour, min, sec) /* multi line expression */
|
Public Static Attributes Documentation
variable type_map
Public Functions Documentation
function dblink_close_scan
int dblink_close_scan (
DBLINK_SCAN_INFO * scan_info,
bool is_final
)
function dblink_end_tran
int dblink_end_tran (
DBLINK_CONN_ENTRY * dblink,
bool is_abort
)
function dblink_execute_query
int dblink_execute_query (
THREAD_ENTRY * thread_p,
struct access_spec_node * spec,
VAL_DESCR * vd,
DBLINK_HOST_VARS * host_vars
)
function dblink_open_scan
int dblink_open_scan (
THREAD_ENTRY * thread_p,
DBLINK_SCAN_INFO * scan_info,
struct access_spec_node * spec,
VAL_DESCR * vd,
DBLINK_HOST_VARS * host_vars
)
function dblink_scan_next
SCAN_CODE dblink_scan_next (
DBLINK_SCAN_INFO * scan_info,
val_list_node * val_list
)
function dblink_scan_reset
SCAN_CODE dblink_scan_reset (
DBLINK_SCAN_INFO * scan_info
)
Public Static Functions Documentation
function dblink_bind_param
static int dblink_bind_param (
int stmt_handle,
VAL_DESCR * vd,
DBLINK_HOST_VARS * host_vars
)
function dblink_get_basic_utype
static T_CCI_U_TYPE dblink_get_basic_utype (
T_CCI_U_EXT_TYPE u_ext_type
)
function dblink_make_cci_value
static int dblink_make_cci_value (
DB_VALUE * cci_value,
T_CCI_U_TYPE utype,
void * val,
int prec,
int len,
int codeset
)
function dblink_make_date_time
static int dblink_make_date_time (
T_CCI_U_TYPE utype,
DB_VALUE * value_p,
T_CCI_DATE * date_time
)
function dblink_make_date_time_tz
static int dblink_make_date_time_tz (
T_CCI_U_TYPE utype,
DB_VALUE * value_p,
T_CCI_DATE_TZ * date_time_tz
)
function print_utype_to_string
static char * print_utype_to_string (
int type
)
Macro Definition Documentation
define DATETIME_DECODE
#define DATETIME_DECODE (
date,
dt,
m,
d,
y,
hour,
min,
sec,
msec
) `/* multi line expression */`
define MAX_LEN_CONNECTION_URL
#define MAX_LEN_CONNECTION_URL `512`
define NULL_CHECK
#define NULL_CHECK (
ind
) `if (( ind ) == -1) break`
define TIMESTAMP_DECODE
#define TIMESTAMP_DECODE (
date,
dt,
tm,
m,
d,
y,
hour,
min,
sec
) `/* multi line expression */`
The documentation for this class was generated from the following file cubrid/src/query/dblink_scan.c