34 size_t &next_index,
char *
buffer,
size_t &buffer_length,
41 size_t start_index,
size_t &consumed_length,
46 size_t key_offset,
Rows_mysql &sql_rows,
size_t sql_index));
56 std::vector<Row_meta> &row_meta_all));
71 (
THD * thd,
const TABLE *
table,
size_t nth_key,
size_t data_size,
72 size_t memory,
size_t num_threads));
81 Blob_context &blob_ctx,
unsigned char *blobref,
size_t thread));
85 Blob_context blob_ctx,
unsigned char *blobref,
size_t thread,
86 const unsigned char *data,
size_t data_len));
90 Blob_context blob_ctx,
unsigned char *blobref,
size_t thread));
Services for bulk data conversion and load to SE.
Implements the row and column memory management for parse and load operations.
Definition: bulk_data_service.h:291
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
Specifies macros to define Components.
static uint16 key1[1001]
Definition: hp_test2.cc:50
Definition: bulk_data_service.cc:45
int mysql_format_from_raw(char *buffer, size_t buffer_length, const Row_meta &metadata, size_t start_index, size_t &consumed_length, Rows_mysql &sql_rows) noexcept
Definition: bulk_data_service.cc:1765
bool get_table_metadata(THD *thd, const TABLE *table, Table_meta &table_meta) noexcept
Definition: bulk_data_service.cc:2367
int mysql_format(THD *thd, const TABLE *table, const Rows_text &text_rows, size_t &next_index, char *buffer, size_t &buffer_length, const CHARSET_INFO *charset, const Row_meta &metadata, Rows_mysql &sql_rows, Bulk_load_error_location_details &error_details) noexcept
Definition: bulk_data_service.cc:1796
bool get_row_metadata_all(THD *thd, const TABLE *table, bool have_key, std::vector< Row_meta > &row_meta_all) noexcept
Definition: bulk_data_service.cc:2376
int compare_keys(const Column_mysql &key1, const Column_mysql &key2, const Column_meta &col_meta) noexcept
Definition: bulk_data_service.cc:1855
int mysql_format_using_key(const Row_meta &metadata, const Rows_mysql &sql_keys, size_t key_offset, Rows_mysql &sql_rows, size_t sql_index) noexcept
Definition: bulk_data_service.cc:1706
bool is_killed(THD *thd) noexcept
Definition: bulk_data_service.cc:1848
Definition: bulk_data_service.cc:2408
void * Blob_context
Definition: bulk_data_service.cc:2410
void * begin(THD *thd, const TABLE *table, size_t keynr, size_t data_size, size_t memory, size_t num_threads) noexcept
Definition: bulk_data_service.cc:2414
bool open_blob(THD *thd, void *load_ctx, const TABLE *table, Blob_context &blob_ctx, unsigned char *blobref, size_t thread) noexcept
Definition: bulk_data_service.cc:2431
size_t get_se_memory_size(THD *thd, const TABLE *table) noexcept
Definition: bulk_data_service.cc:2539
bool end(THD *thd, void *ctx, const TABLE *table, bool error) noexcept
Definition: bulk_data_service.cc:2455
bool load(THD *thd, void *ctx, const TABLE *table, const Rows_mysql &sql_rows, size_t thread, Bulk_load::Stat_callbacks &wait_cbks) noexcept
Definition: bulk_data_service.cc:2423
bool write_blob(THD *thd, void *load_ctx, const TABLE *table, Blob_context blob_ctx, unsigned char *blobref, size_t thread, const unsigned char *data, size_t data_len) noexcept
Definition: bulk_data_service.cc:2441
bool close_blob(THD *thd, void *load_ctx, const TABLE *table, Blob_context blob_ctx, unsigned char *blobref, size_t thread) noexcept
Definition: bulk_data_service.cc:2449
bool is_table_supported(THD *thd, const TABLE *table) noexcept
Definition: bulk_data_service.cc:2543
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
const std::string charset("charset")
Definition: aligned_atomic.h:44
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:418
#define DEFINE_METHOD(retval, name, args)
A macro to ensure method implementation has required properties, that is it does not throw exceptions...
Definition: service_implementation.h:79
Callbacks for collecting time statistics.
Definition: bulk_data_service.h:838
Definition: bulk_data_service.h:54
Definition: m_ctype.h:421
Definition: bulk_data_service.h:195