MySQL 8.4.2
Source Code Documentation
|
Bulk load driver service. More...
#include <bulk_load_service.h>
Public Attributes | |
Bulk_loader *(* | create_bulk_loader )(THD *thd, my_thread_id connection_id, const TABLE *table, Bulk_source src, const CHARSET_INFO *charset) |
Create bulk loader. More... | |
void(* | set_string )(Bulk_loader *loader, Bulk_string type, std::string value) |
Set string attribute for loading data. More... | |
void(* | set_char )(Bulk_loader *loader, Bulk_char type, unsigned char value) |
Set single byte character attribute for loading data. More... | |
void(* | set_size )(Bulk_loader *loader, Bulk_size type, size_t value) |
Set size attribute for loading data. More... | |
void(* | set_condition )(Bulk_loader *loader, Bulk_condition type, bool value) |
Set boolean condition attribute for loading data. More... | |
void(* | set_compression_algorithm )(Bulk_loader *loader, Bulk_compression_algorithm algorithm) |
Set boolean condition attribute for loading data. More... | |
bool(* | load )(Bulk_loader *loader, size_t &affected_rows) |
Load data from CSV files. More... | |
void(* | drop_bulk_loader )(THD *thd, Bulk_loader *loader) |
Drop bulk loader. More... | |
Bulk load driver service.
Bulk_loader *(* s_mysql_bulk_load_driver::create_bulk_loader) (THD *thd, my_thread_id connection_id, const TABLE *table, Bulk_source src, const CHARSET_INFO *charset) |
Create bulk loader.
[in] | thd | mysql THD |
[in] | table | mysql TABLE object |
[in] | src | bulk loader source |
[in] | charset | source data character set |
void(* s_mysql_bulk_load_driver::drop_bulk_loader) (THD *thd, Bulk_loader *loader) |
Drop bulk loader.
[in,out] | thd | mysql THD |
[in,out] | loader | loader object to drop |
bool(* s_mysql_bulk_load_driver::load) (Bulk_loader *loader, size_t &affected_rows) |
Load data from CSV files.
[in,out] | loader | bulk loader |
void(* s_mysql_bulk_load_driver::set_char) (Bulk_loader *loader, Bulk_char type, unsigned char value) |
Set single byte character attribute for loading data.
[in,out] | loader | bulk loader |
[in] | type | attribute type |
[in] | value | attribute value |
void(* s_mysql_bulk_load_driver::set_compression_algorithm) (Bulk_loader *loader, Bulk_compression_algorithm algorithm) |
Set boolean condition attribute for loading data.
[in,out] | loader | bulk loader |
[in] | algorithm | the compression algorithm used |
void(* s_mysql_bulk_load_driver::set_condition) (Bulk_loader *loader, Bulk_condition type, bool value) |
Set boolean condition attribute for loading data.
[in,out] | loader | bulk loader |
[in] | type | attribute type |
[in] | value | attribute value |
void(* s_mysql_bulk_load_driver::set_size) (Bulk_loader *loader, Bulk_size type, size_t value) |
Set size attribute for loading data.
[in,out] | loader | bulk loader |
[in] | type | attribute type |
[in] | value | attribute value |
void(* s_mysql_bulk_load_driver::set_string) (Bulk_loader *loader, Bulk_string type, std::string value) |
Set string attribute for loading data.
[in,out] | loader | bulk loader |
[in] | type | attribute type |
[in] | value | attribute value |