MySQL 9.1.0
Source Code Documentation
Bulk_load_file_info Struct Reference

#include <bulk_load_service.h>

Public Member Functions

 Bulk_load_file_info (const Bulk_source &source, const std::string &input_string, const size_t &n_files)
 
bool parse (std::string &error)
 
std::ostream & print (std::ostream &out) const
 
bool is_count_specified () const
 Check if the COUNT clause has been explicitly specified. More...
 

Public Attributes

std::string m_file_prefix
 
std::optional< std::string > m_file_suffix
 
std::string m_appendtolastprefix
 
size_t m_start_index {1}
 
bool m_is_dryrun {false}
 

Private Attributes

rapidjson::Document m_doc
 
const Bulk_source m_source
 
const std::string m_input_string
 
const size_t m_n_files {0}
 

Constructor & Destructor Documentation

◆ Bulk_load_file_info()

Bulk_load_file_info::Bulk_load_file_info ( const Bulk_source source,
const std::string &  input_string,
const size_t &  n_files 
)
inline

Member Function Documentation

◆ is_count_specified()

bool Bulk_load_file_info::is_count_specified ( ) const
inline

Check if the COUNT clause has been explicitly specified.

Returns
true if COUNT is specified explicitly, false otherwise.

◆ parse()

bool Bulk_load_file_info::parse ( std::string &  error)
inline

◆ print()

std::ostream & Bulk_load_file_info::print ( std::ostream &  out) const
inline

Member Data Documentation

◆ m_appendtolastprefix

std::string Bulk_load_file_info::m_appendtolastprefix

◆ m_doc

rapidjson::Document Bulk_load_file_info::m_doc
private

◆ m_file_prefix

std::string Bulk_load_file_info::m_file_prefix

◆ m_file_suffix

std::optional<std::string> Bulk_load_file_info::m_file_suffix

◆ m_input_string

const std::string Bulk_load_file_info::m_input_string
private

◆ m_is_dryrun

bool Bulk_load_file_info::m_is_dryrun {false}

◆ m_n_files

const size_t Bulk_load_file_info::m_n_files {0}
private

◆ m_source

const Bulk_source Bulk_load_file_info::m_source
private

◆ m_start_index

size_t Bulk_load_file_info::m_start_index {1}

The documentation for this struct was generated from the following file: