File jsp_cl.cpp¶
FileList > cubrid > src > sp > jsp_cl.cpp
Go to the source code of this file
#include "config.h"#include <assert.h>#include <sys/socket.h>#include <vector>#include <functional>#include <chrono>#include <ctime>#include <iomanip>#include <sstream>#include "authenticate.h"#include "error_manager.h"#include "memory_alloc.h"#include "dbtype.h"#include "parser.h"#include "parser_message.h"#include "object_domain.h"#include "object_primitive.h"#include "object_representation.h"#include "db.h"#include "object_accessor.h"#include "set_object.h"#include "locator_cl.h"#include "transaction_cl.h"#include "schema_manager.h"#include "numeric_opfunc.h"#include "jsp_cl.h"#include "system_parameter.h"#include "network_interface_cl.h"#include "unicode_support.h"#include "pl_comm.h"#include "pl_struct_compile.hpp"#include "sp_catalog.hpp"#include "authenticate_access_auth.hpp"#include "pl_signature.hpp"#include "oid.h"#include "string_buffer.hpp"#include "db_value_printer.hpp"#include "execute_statement.h"
Public Attributes¶
| Type | Name |
|---|---|
| bool | ssl_client |
Public Static Attributes¶
| Type | Name |
|---|---|
| int | call_cnt = 0 |
| bool | is_prepare_call = { [**false**](broker__monitor_8c.md#function-timeout), } |
| int | server_port = -1 |
Public Functions¶
Public Static Functions¶
Macros¶
| Type | Name |
|---|---|
| define | MAX_ARG_COUNT 64 |
| define | MAX_CALL_COUNT 16 |
| define | PT_NODE_SP_ARGS (node) ((node)->info.sp.param\_list) |
| define | PT_NODE_SP_ARG_COMMENT (node) /* multi line expression */ |
| define | PT_NODE_SP_ARG_NAME (node) /* multi line expression */ |
| define | PT_NODE_SP_AUTHID (node) ((node)->info.sp.auth\_id) |
| define | PT_NODE_SP_BODY (node) ((node)->info.sp.body) |
| define | PT_NODE_SP_COMMENT (node) /* multi line expression */ |
| define | PT_NODE_SP_DETERMINISTIC_TYPE (node) ((node)->info.sp.dtrm\_type) |
| define | PT_NODE_SP_IMPL (node) ((node)->info.sp.body->info.sp\_body.impl->info.value.data\_value.str->bytes) |
| define | PT_NODE_SP_JAVA_METHOD (node) ((node)->info.sp.body->info.sp\_body.decl->info.value.data\_value.str->bytes) |
| define | PT_NODE_SP_LANG (node) ((node)->info.sp.body->info.sp\_body.lang) |
| define | PT_NODE_SP_NAME (node) /* multi line expression */ |
| define | PT_NODE_SP_RETURN_TYPE (node) ((node)->info.sp.ret\_type->info.name.original) |
| define | PT_NODE_SP_TYPE (node) ((node)->info.sp.type) |
Public Attributes Documentation¶
variable ssl_client¶
Public Static Attributes Documentation¶
variable call_cnt¶
variable is_prepare_call¶
variable server_port¶
Public Functions Documentation¶
function alter_stored_procedure_code¶
int alter_stored_procedure_code (
PARSER_CONTEXT * parser,
MOP sp_mop,
const char * name,
const char * owner_str,
int sp_recompile
)
function jsp_alter_stored_procedure¶
function jsp_call_stored_procedure¶
function jsp_check_return_type_supported¶
function jsp_create_stored_procedure¶
function jsp_drop_stored_procedure¶
function jsp_find_sp_of_another_owner¶
function jsp_find_stored_procedure¶
function jsp_find_stored_procedure_code¶
function jsp_get_default_expr_node_list¶
function jsp_get_name¶
function jsp_get_owner¶
function jsp_get_owner_name¶
function jsp_get_return_type¶
function jsp_get_sp_type¶
function jsp_get_unique_name¶
function jsp_is_exist_stored_procedure¶
function jsp_is_prepare_call¶
function jsp_make_pl_args¶
int jsp_make_pl_args (
PARSER_CONTEXT * parser,
PT_NODE * node,
int num_params,
DB_SET * param_set,
cubpl::pl_signature & sig
)
function jsp_make_pl_signature¶
int jsp_make_pl_signature (
PARSER_CONTEXT * parser,
PT_NODE * node,
PT_NODE * subquery_as_attr_list,
cubpl::pl_signature & sig
)
function jsp_set_prepare_call¶
function jsp_unset_prepare_call¶
Public Static Functions Documentation¶
function check_execute_authorization¶
function drop_stored_procedure¶
function drop_stored_procedure_code¶
function jsp_check_out_param_in_query¶
function jsp_check_overflow_args¶
static int jsp_check_overflow_args (
PARSER_CONTEXT * parser,
PT_NODE * node,
int num_params,
int num_args
)
function jsp_check_param_type_supported¶
function jsp_check_stored_procedure_name¶
function jsp_default_value_string¶
function jsp_default_value_string¶
static int jsp_default_value_string (
PARSER_CONTEXT * parser,
PT_NODE * node,
bool & is_null,
std::string & out
)
function jsp_evaluate_arguments¶
static int jsp_evaluate_arguments (
PARSER_CONTEXT * parser,
PT_NODE * statement,
std::vector< std::reference_wrapper < DB_VALUE > > & args
)
function jsp_map_pt_misc_to_sp_mode¶
function jsp_map_pt_misc_to_sp_type¶
function jsp_map_pt_to_sp_authid¶
function jsp_map_pt_to_sp_dtrm_type¶
static SP_DIRECTIVE_ENUM jsp_map_pt_to_sp_dtrm_type (
PT_MISC_TYPE pt_dtrm_type,
SP_DIRECTIVE_ENUM directive
)
function jsp_map_sp_type_to_pt_misc¶
function pt_to_method_arglist¶
static int * pt_to_method_arglist (
PARSER_CONTEXT * parser,
PT_NODE * target,
PT_NODE * node_list,
PT_NODE * subquery_as_attr_list
)
Macro Definition Documentation¶
define MAX_ARG_COUNT¶
define MAX_CALL_COUNT¶
define PT_NODE_SP_ARGS¶
define PT_NODE_SP_ARG_COMMENT¶
define PT_NODE_SP_ARG_NAME¶
define PT_NODE_SP_AUTHID¶
define PT_NODE_SP_BODY¶
define PT_NODE_SP_COMMENT¶
define PT_NODE_SP_DETERMINISTIC_TYPE¶
define PT_NODE_SP_IMPL¶
#define PT_NODE_SP_IMPL (
node
) `((node)->info.sp.body->info.sp_body.impl->info.value.data_value.str->bytes)`
define PT_NODE_SP_JAVA_METHOD¶
#define PT_NODE_SP_JAVA_METHOD (
node
) `((node)->info.sp.body->info.sp_body.decl->info.value.data_value.str->bytes)`
define PT_NODE_SP_LANG¶
define PT_NODE_SP_NAME¶
define PT_NODE_SP_RETURN_TYPE¶
define PT_NODE_SP_TYPE¶
The documentation for this class was generated from the following file cubrid/src/sp/jsp_cl.cpp