MySQL 9.1.0
Source Code Documentation
bulk_data_service.h File Reference

Services for bulk data conversion and load to SE. More...

#include <assert.h>
#include <mysql/components/service.h>
#include <stddef.h>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include "field_types.h"
#include "sql-common/json_error_handler.h"

Go to the source code of this file.

Classes

struct  Bulk_load_error_location_details
 
struct  Column_text
 
struct  Column_mysql
 
class  Row_bunch< Column_type >
 Implements the row and column memory management for parse and load operations. More...
 
struct  Column_meta
 Column metadata information. More...
 
struct  Row_meta
 Row metadata. More...
 
class  Bulk_load::Json_serialization_error_handler
 
struct  Bulk_load::Stat_callbacks
 Callbacks for collecting time statistics. More...
 
struct  s_mysql_bulk_data_convert
 Bulk Data conversion. More...
 
struct  s_mysql_bulk_data_load
 Column metadata information. More...
 

Namespaces

namespace  Bulk_load
 

Typedefs

using Blob_context = void *
 
using Rows_text = Row_bunch< Column_text >
 
using Rows_mysql = Row_bunch< Column_mysql >
 
typedef struct s_mysql_bulk_data_convert mysql_service_bulk_data_convert_t
 Bulk Data conversion. More...
 
typedef struct s_mysql_bulk_data_load mysql_service_bulk_data_load_t
 Column metadata information. More...
 

Functions

std::ostream & operator<< (std::ostream &out, const Bulk_load_error_location_details &obj)
 Overloading the global output operator to print objects of type Bulk_load_error_location_details. More...
 
std::ostream & operator<< (std::ostream &out, const Column_text &obj)
 Overloading the global output operator to print objects of type Column_text. More...
 
std::ostream & operator<< (std::ostream &out, const Column_meta &obj)
 Overloading the global output operator to print objects of type Column_meta. More...
 

Variables

constexpr size_t BLOB_REF_SIZE = 20
 The blob reference size. More...
 

Detailed Description

Services for bulk data conversion and load to SE.

Typedef Documentation

◆ Blob_context

using Blob_context = void *

◆ mysql_service_bulk_data_convert_t

Bulk Data conversion.

◆ mysql_service_bulk_data_load_t

Column metadata information.

◆ Rows_mysql

◆ Rows_text

Function Documentation

◆ operator<<() [1/3]

std::ostream & operator<< ( std::ostream &  out,
const Bulk_load_error_location_details obj 
)
inline

Overloading the global output operator to print objects of type Bulk_load_error_location_details.

Parameters
[in]outoutput stream
[in]objobject to be printed
Returns
given output stream.

◆ operator<<() [2/3]

std::ostream & operator<< ( std::ostream &  out,
const Column_meta obj 
)
inline

Overloading the global output operator to print objects of type Column_meta.

Parameters
[in]outoutput stream
[in]objobject to be printed
Returns
given output stream.

◆ operator<<() [3/3]

std::ostream & operator<< ( std::ostream &  out,
const Column_text obj 
)
inline

Overloading the global output operator to print objects of type Column_text.

Parameters
[in]outoutput stream
[in]objobject to be printed
Returns
given output stream.

Variable Documentation

◆ BLOB_REF_SIZE

constexpr size_t BLOB_REF_SIZE = 20
constexpr

The blob reference size.

Refer to lob::ref_t::SIZE or FIELD_REF_SIZE.