CUBRID Engine
latest
|
#include <shard_statement.h>
Public Attributes | |
unsigned int | index |
unsigned int | num_alloc |
int | stmt_h_id |
int | status |
int | stmt_type |
T_BROKER_VERSION | client_version |
int | ctx_cid |
unsigned int | ctx_uid |
char | database_user [SRV_CON_DBUSER_SIZE] |
int | num_pinned |
T_SHARD_STMT * | lru_next |
T_SHARD_STMT * | lru_prev |
T_SHARD_STMT * | hash_next |
T_SHARD_STMT * | hash_prev |
SP_PARSER_CTX * | parser |
int | request_buffer_length |
void * | request_buffer |
int | reply_buffer_length |
void * | reply_buffer |
T_SHARD_QUEUE | waitq |
int * | srv_h_id_ent |
Definition at line 54 of file shard_statement.h.
T_BROKER_VERSION t_shard_stmt::client_version |
Definition at line 63 of file shard_statement.h.
Referenced by shard_stmt_find_by_sql(), shard_stmt_free(), shard_stmt_initialize(), and shard_stmt_new_internal().
int t_shard_stmt::ctx_cid |
Definition at line 65 of file shard_statement.h.
Referenced by fn_proxy_client_prepare(), shard_stmt_check_waiter_and_wakeup(), shard_stmt_destroy(), shard_stmt_free(), shard_stmt_initialize(), shard_stmt_new_internal(), and shard_str_stmt().
unsigned int t_shard_stmt::ctx_uid |
Definition at line 66 of file shard_statement.h.
Referenced by fn_proxy_client_prepare(), shard_stmt_check_waiter_and_wakeup(), shard_stmt_destroy(), shard_stmt_free(), shard_stmt_initialize(), shard_stmt_new_internal(), and shard_str_stmt().
char t_shard_stmt::database_user[SRV_CON_DBUSER_SIZE] |
Definition at line 67 of file shard_statement.h.
Referenced by shard_stmt_find_by_sql(), shard_stmt_free(), shard_stmt_initialize(), shard_stmt_new_internal(), and shard_str_stmt().
T_SHARD_STMT* t_shard_stmt::hash_next |
Definition at line 72 of file shard_statement.h.
Referenced by shard_stmt_del_statement_from_map(), shard_stmt_find_by_sql(), shard_stmt_free(), shard_stmt_put_statement_to_map(), and shard_str_stmt().
T_SHARD_STMT* t_shard_stmt::hash_prev |
Definition at line 73 of file shard_statement.h.
Referenced by shard_stmt_del_statement_from_map(), shard_stmt_free(), shard_stmt_put_statement_to_map(), and shard_str_stmt().
unsigned int t_shard_stmt::index |
Definition at line 56 of file shard_statement.h.
Referenced by fn_proxy_client_prepare(), shard_stmt_initialize(), shard_stmt_new_internal(), shard_stmt_save_prepare_request(), and shard_str_stmt().
T_SHARD_STMT* t_shard_stmt::lru_next |
Definition at line 70 of file shard_statement.h.
Referenced by shard_stmt_destroy(), shard_stmt_free(), shard_stmt_lru_delete(), shard_stmt_lru_insert(), shard_stmt_new_internal(), shard_stmt_pin(), shard_stmt_save_prepare_request(), and shard_str_stmt().
T_SHARD_STMT* t_shard_stmt::lru_prev |
Definition at line 71 of file shard_statement.h.
Referenced by shard_stmt_destroy(), shard_stmt_free(), shard_stmt_lru_delete(), shard_stmt_lru_insert(), shard_stmt_new_internal(), shard_stmt_pin(), shard_stmt_save_prepare_request(), and shard_str_stmt().
unsigned int t_shard_stmt::num_alloc |
Definition at line 57 of file shard_statement.h.
Referenced by shard_stmt_new_internal(), shard_stmt_save_prepare_request(), and shard_str_stmt().
int t_shard_stmt::num_pinned |
Definition at line 69 of file shard_statement.h.
Referenced by proxy_context_free_stmt(), shard_stmt_destroy(), shard_stmt_free(), shard_stmt_lru_insert(), shard_stmt_new_internal(), shard_stmt_pin(), shard_stmt_save_prepare_request(), shard_stmt_unpin(), and shard_str_stmt().
SP_PARSER_CTX* t_shard_stmt::parser |
Definition at line 75 of file shard_statement.h.
Referenced by fn_proxy_client_prepare(), proxy_client_execute_internal(), proxy_get_shard_id(), proxy_update_shard_stats(), shard_stmt_del_statement_from_map(), shard_stmt_destroy(), shard_stmt_find_by_sql(), shard_stmt_free(), shard_stmt_get_hint_type(), shard_stmt_new_internal(), shard_stmt_put_statement_to_map(), shard_stmt_set_hint_list(), and shard_str_stmt().
void* t_shard_stmt::reply_buffer |
Definition at line 80 of file shard_statement.h.
Referenced by fn_proxy_cas_prepare(), proxy_send_prepared_stmt_to_client(), shard_stmt_destroy(), shard_stmt_free(), and shard_stmt_new_internal().
int t_shard_stmt::reply_buffer_length |
Definition at line 79 of file shard_statement.h.
Referenced by fn_proxy_cas_prepare(), shard_stmt_destroy(), shard_stmt_free(), and shard_stmt_new_internal().
void* t_shard_stmt::request_buffer |
Definition at line 78 of file shard_statement.h.
Referenced by proxy_client_execute_internal(), shard_stmt_destroy(), shard_stmt_free(), shard_stmt_new_internal(), and shard_stmt_save_prepare_request().
int t_shard_stmt::request_buffer_length |
Definition at line 77 of file shard_statement.h.
Referenced by shard_stmt_destroy(), shard_stmt_free(), shard_stmt_new_internal(), and shard_stmt_save_prepare_request().
int* t_shard_stmt::srv_h_id_ent |
Definition at line 84 of file shard_statement.h.
Referenced by shard_stmt_destroy(), shard_stmt_free(), shard_stmt_initialize(), shard_stmt_new_internal(), and shard_stmt_pos_srv_h_id().
int t_shard_stmt::status |
Definition at line 60 of file shard_statement.h.
Referenced by fn_proxy_cas_prepare(), fn_proxy_cas_schema_info(), fn_proxy_client_prepare(), proxy_client_execute_internal(), proxy_context_clear(), proxy_context_free_stmt(), proxy_context_timeout(), shard_statement_wait_timer(), shard_stmt_add_srv_h_id_for_shard_cas(), shard_stmt_del_all_srv_h_id_for_shard_cas(), shard_stmt_destroy(), shard_stmt_find_by_sql(), shard_stmt_find_by_stmt_h_id(), shard_stmt_find_unused(), shard_stmt_free(), shard_stmt_new_internal(), shard_stmt_pin(), shard_stmt_save_prepare_request(), shard_stmt_set_status(), shard_stmt_unpin(), and shard_str_stmt().
int t_shard_stmt::stmt_h_id |
Definition at line 59 of file shard_statement.h.
Referenced by fn_proxy_cas_prepare(), fn_proxy_cas_prepare_and_execute(), fn_proxy_cas_schema_info(), fn_proxy_client_prepare(), fn_proxy_client_prepare_and_execute(), proxy_context_add_stmt(), shard_stmt_destroy(), shard_stmt_find_by_stmt_h_id(), shard_stmt_free(), shard_stmt_new_internal(), shard_stmt_save_prepare_request(), and shard_str_stmt().
int t_shard_stmt::stmt_type |
Definition at line 61 of file shard_statement.h.
Referenced by fn_proxy_client_prepare(), fn_proxy_client_prepare_and_execute(), fn_proxy_client_schema_info(), proxy_context_clear(), proxy_context_free_stmt(), shard_stmt_check_waiter_and_wakeup(), shard_stmt_find_by_sql(), shard_stmt_free(), shard_stmt_get_hint_type(), shard_stmt_new_internal(), shard_stmt_set_hint_list(), and shard_str_stmt().
T_SHARD_QUEUE t_shard_stmt::waitq |
Definition at line 82 of file shard_statement.h.
Referenced by fn_proxy_client_prepare(), shard_statement_wait_timer(), shard_stmt_check_waiter_and_wakeup(), shard_stmt_destroy(), shard_stmt_free(), and shard_stmt_new_internal().