Skip to content

File dblink_scan.h

FileList > cubrid > src > query > dblink_scan.h

Go to the source code of this file

  • #include "dbtype_def.h"
  • #include "storage_common.h"
  • #include "thread_compat.hpp"

Classes

Type Name
struct DBLINK_HOST_VARS
struct dblink_conn_entry
struct dblink_conn_info
struct dblink_scan_info

Public Types

Type Name
typedef struct dblink_conn_entry DBLINK_CONN_ENTRY
typedef struct dblink_conn_info DBLINK_CONN_INFO
typedef struct dblink_scan_info DBLINK_SCAN_INFO
enum DBLINK_STATUS

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)

Macros

Type Name
define MAX_LEN_CONNECTION_URL 512

Public Types Documentation

typedef DBLINK_CONN_ENTRY

typedef struct dblink_conn_entry DBLINK_CONN_ENTRY;

typedef struct dblink_conn_info DBLINK_CONN_INFO;

typedef struct dblink_scan_info DBLINK_SCAN_INFO;

enum DBLINK_STATUS {
    DBLINK_SUCCESS = 1,
    DBLINK_EOF,
    DBLINK_ERROR
};

Public Functions Documentation

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
) 

Macro Definition Documentation

define MAX_LEN_CONNECTION_URL

#define MAX_LEN_CONNECTION_URL `512`


The documentation for this class was generated from the following file cubrid/src/query/dblink_scan.h