MySQL 9.1.0
Source Code Documentation
rec_printer Class Reference

Pretty-printer of records and tuples. More...

#include <rem0rec.h>

Inheritance diagram for rec_printer:
[legend]

Public Member Functions

 rec_printer (const rec_t *rec, const ulint *offsets)
 Construct a pretty-printed record. More...
 
 rec_printer (const rec_t *rec, ulint info, const ulint *offsets)
 Construct a pretty-printed record. More...
 
 rec_printer (const dtuple_t *tuple)
 Construct a pretty-printed tuple. More...
 
 rec_printer (const dfield_t *field, ulint n)
 Construct a pretty-printed tuple. More...
 
virtual ~rec_printer ()=default
 Destructor. More...
 

Private Member Functions

 rec_printer (const rec_printer &other)
 Copy constructor. More...
 
rec_printeroperator= (const rec_printer &other)
 Assignment operator. More...
 

Detailed Description

Pretty-printer of records and tuples.

Constructor & Destructor Documentation

◆ rec_printer() [1/5]

rec_printer::rec_printer ( const rec_t rec,
const ulint offsets 
)
inline

Construct a pretty-printed record.

Parameters
recrecord with header
offsetsrec_get_offsets(rec, ...)

◆ rec_printer() [2/5]

rec_printer::rec_printer ( const rec_t rec,
ulint  info,
const ulint offsets 
)
inline

Construct a pretty-printed record.

Parameters
recrecord, possibly lacking header
inforec_get_info_bits(rec)
offsetsrec_get_offsets(rec, ...)

◆ rec_printer() [3/5]

rec_printer::rec_printer ( const dtuple_t tuple)
inline

Construct a pretty-printed tuple.

Parameters
tupledata tuple

◆ rec_printer() [4/5]

rec_printer::rec_printer ( const dfield_t field,
ulint  n 
)
inline

Construct a pretty-printed tuple.

Parameters
fieldarray of data tuple fields
nnumber of fields

◆ ~rec_printer()

virtual rec_printer::~rec_printer ( )
virtualdefault

Destructor.

◆ rec_printer() [5/5]

rec_printer::rec_printer ( const rec_printer other)
private

Copy constructor.

Member Function Documentation

◆ operator=()

rec_printer & rec_printer::operator= ( const rec_printer other)
private

Assignment operator.


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