CUBRID Engine
latest
|
#include "regu_var.hpp"
Go to the source code of this file.
Classes | |
struct | qfile_tuple_simple_pos |
union | hash_scan_value |
struct | hash_scan_key |
struct | hash_list_scan |
Macros | |
#define | MAKE_TUPLE_POSTION(tuple_pos, simple_pos, scan_id_p) |
Typedefs | |
typedef enum hash_method | HASH_METHOD |
typedef struct qfile_tuple_simple_pos | QFILE_TUPLE_SIMPLE_POS |
typedef union hash_scan_value | HASH_SCAN_VALUE |
typedef struct hash_scan_key | HASH_SCAN_KEY |
typedef struct hash_list_scan | HASH_LIST_SCAN |
Enumerations | |
enum | hash_method { HASH_METH_NOT_USE = 0, HASH_METH_IN_MEM = 1, HASH_METH_HYBRID = 2, HASH_METH_HASH_FILE = 3 } |
#define MAKE_TUPLE_POSTION | ( | tuple_pos, | |
simple_pos, | |||
scan_id_p | |||
) |
Definition at line 32 of file query_hash_scan.h.
Referenced by scan_hash_probe_next().
typedef struct hash_list_scan HASH_LIST_SCAN |
Definition at line 81 of file query_hash_scan.h.
typedef enum hash_method HASH_METHOD |
Definition at line 52 of file query_hash_scan.h.
typedef struct hash_scan_key HASH_SCAN_KEY |
Definition at line 72 of file query_hash_scan.h.
typedef union hash_scan_value HASH_SCAN_VALUE |
Definition at line 63 of file query_hash_scan.h.
typedef struct qfile_tuple_simple_pos QFILE_TUPLE_SIMPLE_POS |
Definition at line 55 of file query_hash_scan.h.
enum hash_method |
Enumerator | |
---|---|
HASH_METH_NOT_USE | |
HASH_METH_IN_MEM | |
HASH_METH_HYBRID | |
HASH_METH_HASH_FILE |
Definition at line 45 of file query_hash_scan.h.
HASH_SCAN_KEY* qdata_alloc_hscan_key | ( | THREAD_ENTRY * | thread_p, |
int | val_cnt, | ||
bool | alloc_vals | ||
) |
HASH_SCAN_VALUE* qdata_alloc_hscan_value | ( | THREAD_ENTRY * | thread_p, |
QFILE_TUPLE | tpl | ||
) |
HASH_SCAN_VALUE* qdata_alloc_hscan_value_OID | ( | THREAD_ENTRY * | thread_p, |
QFILE_LIST_SCAN_ID * | scan_id_p | ||
) |
int qdata_build_hscan_key | ( | THREAD_ENTRY * | thread_p, |
val_descr * | vd, | ||
REGU_VARIABLE_LIST | regu_list, | ||
HASH_SCAN_KEY * | key | ||
) |
Definition at line 212 of file query_hash_scan.c.
References fetch_peek_dbval(), hash_scan_key::free_values, regu_variable_list_node::next, NO_ERROR, NULL, rc, hash_scan_key::val_count, regu_variable_list_node::value, and hash_scan_key::values.
Referenced by scan_build_hash_list_scan(), and scan_hash_probe_next().
HASH_SCAN_KEY* qdata_copy_hscan_key | ( | THREAD_ENTRY * | thread_p, |
HASH_SCAN_KEY * | key, | ||
REGU_VARIABLE_LIST | probe_regu_list, | ||
val_descr * | vd | ||
) |
HASH_SCAN_KEY* qdata_copy_hscan_key_without_alloc | ( | THREAD_ENTRY * | thread_p, |
HASH_SCAN_KEY * | key, | ||
REGU_VARIABLE_LIST | probe_regu_list, | ||
HASH_SCAN_KEY * | new_key | ||
) |
int qdata_free_hscan_entry | ( | const void * | key, |
void * | data, | ||
void * | args | ||
) |
Definition at line 506 of file query_hash_scan.c.
References NO_ERROR, qdata_free_hscan_key(), and qdata_free_hscan_value().
Referenced by scan_close_scan().
void qdata_free_hscan_key | ( | THREAD_ENTRY * | thread_p, |
HASH_SCAN_KEY * | key, | ||
int | val_count | ||
) |
void qdata_free_hscan_value | ( | THREAD_ENTRY * | thread_p, |
HASH_SCAN_VALUE * | value | ||
) |
unsigned int qdata_hash_scan_key | ( | const void * | key, |
unsigned int | ht_size | ||
) |
Definition at line 126 of file query_hash_scan.c.
References i, mht_get_hash_number(), hash_scan_key::val_count, and hash_scan_key::values.
Referenced by scan_open_list_scan().
Definition at line 196 of file query_hash_scan.c.
References DB_EQ, and qdata_hscan_key_compare().
Referenced by scan_open_list_scan().
int qdata_print_hash_scan_entry | ( | THREAD_ENTRY * | thread_p, |
FILE * | fp, | ||
const void * | data, | ||
void * | args | ||
) |
Definition at line 246 of file query_hash_scan.c.
References HASH_METH_HYBRID, HASH_METH_IN_MEM, NULL, qfile_tuple_simple_pos::offset, vpid::pageid, hash_scan_value::pos, QFILE_GET_TUPLE_LENGTH, hash_scan_value::tuple, vpid::volid, and qfile_tuple_simple_pos::vpid.
Referenced by scan_close_scan().