|
CUBRID Engine
latest
|
#include <load_common.hpp>


Public Member Functions | |
| stats () | |
| stats (const stats ©) | |
| stats & | operator= (const stats &other) |
| void | clear () |
| void | pack (cubpacking::packer &serializator) const override |
| void | unpack (cubpacking::unpacker &deserializator) override |
| size_t | get_packed_size (cubpacking::packer &serializator, std::size_t start_offset) const override |
Public Member Functions inherited from cubpacking::packable_object | |
| virtual | ~packable_object () |
| virtual bool | is_equal (const packable_object *other) |
Public Attributes | |
| int64_t | rows_committed |
| std::atomic< int64_t > | current_line |
| int64_t | last_committed_line |
| int | rows_failed |
| std::string | error_message |
| std::string | log_message |
Definition at line 253 of file load_common.hpp.
| cubload::stats::stats | ( | ) |
Definition at line 443 of file load_common.cpp.
References error_message, last_committed_line, log_message, and rows_failed.
Definition at line 455 of file load_common.cpp.
References current_line, error_message, last_committed_line, log_message, and rows_failed.
| void cubload::stats::clear | ( | void | ) |
Definition at line 480 of file load_common.cpp.
References current_line, error_message, last_committed_line, log_message, rows_committed, and rows_failed.
|
overridevirtual |
Implements cubpacking::packable_object.
Definition at line 517 of file load_common.cpp.
References error_message, cubpacking::packer::get_packed_bigint_size(), cubpacking::packer::get_packed_int_size(), cubpacking::packer::get_packed_string_size(), and log_message.
Definition at line 467 of file load_common.cpp.
References current_line, error_message, last_committed_line, log_message, rows_committed, and rows_failed.
|
overridevirtual |
Implements cubpacking::packable_object.
Definition at line 491 of file load_common.cpp.
References current_line, error_message, last_committed_line, log_message, cubpacking::packer::pack_bigint(), cubpacking::packer::pack_int(), cubpacking::packer::pack_string(), rows_committed, and rows_failed.
|
overridevirtual |
Implements cubpacking::packable_object.
Definition at line 502 of file load_common.cpp.
References current_line, error_message, last_committed_line, log_message, rows_committed, rows_failed, cubpacking::unpacker::unpack_bigint(), cubpacking::unpacker::unpack_int(), and cubpacking::unpacker::unpack_string().
| std::atomic<int64_t> cubload::stats::current_line |
Definition at line 256 of file load_common.hpp.
Referenced by clear(), ldr_server_load(), operator=(), pack(), stats(), cubload::session::stats_update_current_line(), and unpack().
| std::string cubload::stats::error_message |
Definition at line 259 of file load_common.hpp.
Referenced by clear(), cubload::session::collect_stats(), get_packed_size(), ldr_server_load(), cubload::session::on_error(), operator=(), pack(), stats(), and unpack().
| int64_t cubload::stats::last_committed_line |
Definition at line 257 of file load_common.hpp.
Referenced by clear(), ldr_server_load(), operator=(), pack(), stats(), cubload::session::stats_update_last_committed_line(), and unpack().
| std::string cubload::stats::log_message |
Definition at line 260 of file load_common.hpp.
Referenced by cubload::session::append_log_msg(), clear(), cubload::session::collect_stats(), get_packed_size(), operator=(), pack(), stats(), and unpack().
| int64_t cubload::stats::rows_committed |
Definition at line 255 of file load_common.hpp.
Referenced by clear(), ldr_server_load(), operator=(), pack(), cubload::session::stats_get_rows_committed(), cubload::session::stats_update_rows_committed(), and unpack().
| int cubload::stats::rows_failed |
Definition at line 258 of file load_common.hpp.
Referenced by clear(), ldr_server_load(), cubload::session::on_error(), operator=(), pack(), stats(), and unpack().