Class cubload::session
ClassList > cubload > session
#include <load_session.hpp>
Public Functions
| Type |
Name |
| void |
append_log_msg (MSGCAT_LOADDB_MSG msg_id, Args &&... args)
|
| void |
fail (bool has_lock=false)
|
| void |
fetch_status (load_status & status, bool has_lock=false)
|
| const load_args & |
get_args ()
|
| class_registry & |
get_class_registry ()
|
| int |
get_client_type ()
|
| int |
install_class (cubthread::entry & thread_ref, const batch & batch, bool & is_ignored, std::string & cls_name)
|
| void |
interrupt ()
|
| bool |
is_failed ()
|
| int |
load_batch (cubthread::entry & thread_ref, const batch * batch, bool use_temp_batch, bool & is_batch_accepted, load_status & status)
|
| void |
notify_batch_done (batch_id id)
|
| void |
notify_batch_done_and_register_tran_end (batch_id id, int tran_index)
|
| void |
on_error (std::string & err_msg)
|
| session & |
operator= (session && other) = delete
|
| session & |
operator= (const session & copy) = delete
|
| void |
register_tran_start (int tran_index)
|
|
session (load_args & args)
|
|
session (session && other) = delete
|
|
session (const session & copy) = delete
|
| void |
set_client_type (int client_type)
|
| int64_t |
stats_get_rows_committed ()
|
| void |
stats_update_current_line (int64_t current_line)
|
| void |
stats_update_last_committed_line (int64_t last_committed_line)
|
| void |
stats_update_rows_committed (int64_t rows_committed)
|
| void |
wait_for_completion ()
|
| void |
wait_for_previous_batch (batch_id id)
|
|
~session ()
|
Public Functions Documentation
function append_log_msg
template<typename... Args>
void cubload::session::append_log_msg (
MSGCAT_LOADDB_MSG msg_id,
Args &&... args
)
function fail
void cubload::session::fail (
bool has_lock=false
)
function fetch_status
void cubload::session::fetch_status (
load_status & status,
bool has_lock=false
)
function get_args
const load_args & cubload::session::get_args ()
function get_class_registry
class_registry & cubload::session::get_class_registry ()
function get_client_type
int cubload::session::get_client_type ()
function install_class
int cubload::session::install_class (
cubthread::entry & thread_ref,
const batch & batch,
bool & is_ignored,
std::string & cls_name
)
function interrupt
void cubload::session::interrupt ()
function is_failed
bool cubload::session::is_failed ()
function load_batch
int cubload::session::load_batch (
cubthread::entry & thread_ref,
const batch * batch,
bool use_temp_batch,
bool & is_batch_accepted,
load_status & status
)
function notify_batch_done
void cubload::session::notify_batch_done (
batch_id id
)
function notify_batch_done_and_register_tran_end
void cubload::session::notify_batch_done_and_register_tran_end (
batch_id id,
int tran_index
)
function on_error
void cubload::session::on_error (
std::string & err_msg
)
function operator=
session & cubload::session::operator= (
session && other
) = delete
function operator=
session & cubload::session::operator= (
const session & copy
) = delete
function register_tran_start
void cubload::session::register_tran_start (
int tran_index
)
function session [1/3]
explicit cubload::session::session (
load_args & args
)
function session [2/3]
cubload::session::session (
session && other
) = delete
function session [3/3]
cubload::session::session (
const session & copy
) = delete
function set_client_type
void cubload::session::set_client_type (
int client_type
)
function stats_get_rows_committed
int64_t cubload::session::stats_get_rows_committed ()
function stats_update_current_line
void cubload::session::stats_update_current_line (
int64_t current_line
)
function stats_update_last_committed_line
void cubload::session::stats_update_last_committed_line (
int64_t last_committed_line
)
function stats_update_rows_committed
void cubload::session::stats_update_rows_committed (
int64_t rows_committed
)
function wait_for_completion
void cubload::session::wait_for_completion ()
function wait_for_previous_batch
void cubload::session::wait_for_previous_batch (
batch_id id
)
function ~session
cubload::session::~session ()
The documentation for this class was generated from the following file cubrid/src/loaddb/load_session.hpp