MySQL 8.0.39
Source Code Documentation
server_mock::XProtocolEncoder Class Reference

#include <x_protocol_encoder.h>

Public Member Functions

void encode_row_field (Mysqlx::Resultset::Row &row_msg, const Mysqlx::Resultset::ColumnMetaData_FieldType type, const std::string &value, const bool is_null)
 
void encode_metadata (Mysqlx::Resultset::ColumnMetaData &metadata_msg, const classic_protocol::message::server::ColumnMeta &column)
 
void encode_error (Mysqlx::Error &err_msg, const uint16_t error_code, const std::string &error_txt, const std::string &sql_state)
 
Mysqlx::Resultset::ColumnMetaData_FieldType column_type_to_x (const uint8_t column_type)
 

Member Function Documentation

◆ column_type_to_x()

Mysqlx::Resultset::ColumnMetaData_FieldType server_mock::XProtocolEncoder::column_type_to_x ( const uint8_t  column_type)

◆ encode_error()

void server_mock::XProtocolEncoder::encode_error ( Mysqlx::Error err_msg,
const uint16_t  error_code,
const std::string &  error_txt,
const std::string &  sql_state 
)

◆ encode_metadata()

void server_mock::XProtocolEncoder::encode_metadata ( Mysqlx::Resultset::ColumnMetaData metadata_msg,
const classic_protocol::message::server::ColumnMeta column 
)

◆ encode_row_field()

void server_mock::XProtocolEncoder::encode_row_field ( Mysqlx::Resultset::Row row_msg,
const Mysqlx::Resultset::ColumnMetaData_FieldType  type,
const std::string &  value,
const bool  is_null 
)

The documentation for this class was generated from the following files: