MySQL 9.7.0
Source Code Documentation
row_proxy.h File Reference

Go to the source code of this file.

Classes

struct  Field_view_definition< Typecode_tp, typecode_end_tp >
 Description of the mapping between a column and a field typecode. More...
 
struct  Row_proxy_type_info< Typecode_tp, typecode_end_tp, column_count_tp >
 Aggregates type definitions and constants for a given typecode enum, end element of that enum, and column count. More...
 
class  Row_proxy< Typecode_tp, typecode_end_tp, column_count_tp >
 Forward declaration. More...
 

Typedefs

template<class Typecode_tp , Typecode_tp typecode_end_tp, std::size_t column_count_tp>
using Row_view_definition = std::array< Field_view_definition< Typecode_tp, typecode_end_tp >, column_count_tp >
 Description of the mapping between columns and field typecodes, for all columns in a table. More...
 

Enumerations

enum  Column_type { longlong_type , enum_type , timestamp_type , string_type }
 Framework that helps consuming data in a specific format, typically provided by a service API, and publishes that data in the form of a performance_schema table. More...
 

Functions

 REQUIRES_SERVICE_PLACEHOLDER (pfs_plugin_column_string_v2)
 
 REQUIRES_SERVICE_PLACEHOLDER (pfs_plugin_column_bigint_v1)
 
 REQUIRES_SERVICE_PLACEHOLDER (pfs_plugin_column_timestamp_v2)
 
 REQUIRES_SERVICE_PLACEHOLDER (pfs_plugin_column_enum_v1)
 

Typedef Documentation

◆ Row_view_definition

template<class Typecode_tp , Typecode_tp typecode_end_tp, std::size_t column_count_tp>
using Row_view_definition = std::array<Field_view_definition<Typecode_tp, typecode_end_tp>, column_count_tp>

Description of the mapping between columns and field typecodes, for all columns in a table.

Enumeration Type Documentation

◆ Column_type

Framework that helps consuming data in a specific format, typically provided by a service API, and publishes that data in the form of a performance_schema table.

The format of a row is Data types that this framework supports storing in a table.

Enumerator
longlong_type 

BIGINT, stored in the backend data as long long.

enum_type 

ENUM, stored in the backend data as long long.

timestamp_type 

TIMESTAMP, stored in the backend data as microseconds in long long.

string_type 

CHAR(...), stored as a char *.

Function Documentation

◆ REQUIRES_SERVICE_PLACEHOLDER() [1/4]

REQUIRES_SERVICE_PLACEHOLDER ( pfs_plugin_column_bigint_v1  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [2/4]

REQUIRES_SERVICE_PLACEHOLDER ( pfs_plugin_column_enum_v1  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [3/4]

REQUIRES_SERVICE_PLACEHOLDER ( pfs_plugin_column_string_v2  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [4/4]

REQUIRES_SERVICE_PLACEHOLDER ( pfs_plugin_column_timestamp_v2  )