MySQL 9.0.0
Source Code Documentation
Gcs_empty_stage_metadata Class Referencefinal

Empty metadata for stages that do not require any metadata. More...

#include <gcs_internal_message_headers.h>

Inheritance diagram for Gcs_empty_stage_metadata:
[legend]

Public Member Functions

 Gcs_empty_stage_metadata ()=default
 
std::unique_ptr< Gcs_stage_metadataclone () final
 Creates a deep copy of this object. More...
 
unsigned long long calculate_encode_length () const final
 Calculate the length required to encode this object. More...
 
unsigned long long encode (unsigned char *) const final
 Encode the contents of this instance into the buffer. More...
 
unsigned long long decode (unsigned char const *) final
 Decode the contents of the buffer and sets the field values according to the values decoded. More...
 
void dump (std::ostringstream &) const final
 Create a string representation of the header to be logged. More...
 
 Gcs_empty_stage_metadata (Gcs_empty_stage_metadata &&)=default
 
Gcs_empty_stage_metadataoperator= (Gcs_empty_stage_metadata &&)=default
 
 Gcs_empty_stage_metadata (Gcs_empty_stage_metadata const &)=default
 
Gcs_empty_stage_metadataoperator= (Gcs_empty_stage_metadata const &)=default
 

Detailed Description

Empty metadata for stages that do not require any metadata.

Constructor & Destructor Documentation

◆ Gcs_empty_stage_metadata() [1/3]

Gcs_empty_stage_metadata::Gcs_empty_stage_metadata ( )
default

◆ Gcs_empty_stage_metadata() [2/3]

Gcs_empty_stage_metadata::Gcs_empty_stage_metadata ( Gcs_empty_stage_metadata &&  )
default

◆ Gcs_empty_stage_metadata() [3/3]

Gcs_empty_stage_metadata::Gcs_empty_stage_metadata ( Gcs_empty_stage_metadata const &  )
default

Member Function Documentation

◆ calculate_encode_length()

unsigned long long Gcs_empty_stage_metadata::calculate_encode_length ( ) const
finalvirtual

Calculate the length required to encode this object.

Implements Gcs_stage_metadata.

◆ clone()

std::unique_ptr< Gcs_stage_metadata > Gcs_empty_stage_metadata::clone ( )
finalvirtual

Creates a deep copy of this object.

Returns
a deep copy of this object.

Implements Gcs_stage_metadata.

◆ decode()

unsigned long long Gcs_empty_stage_metadata::decode ( unsigned char const *  buffer)
finalvirtual

Decode the contents of the buffer and sets the field values according to the values decoded.

The buffer MUST be encoded in little endian format.

Parameters
bufferThe buffer to decode from.
Returns
Encoded size.

Implements Gcs_stage_metadata.

◆ dump()

void Gcs_empty_stage_metadata::dump ( std::ostringstream &  output) const
finalvirtual

Create a string representation of the header to be logged.

Parameters
outputReference to the output stream where the string will be created

Implements Gcs_stage_metadata.

◆ encode()

unsigned long long Gcs_empty_stage_metadata::encode ( unsigned char *  buffer) const
finalvirtual

Encode the contents of this instance into the buffer.

The encoding SHALL be done in little endian format.

Parameters
bufferThe buffer to encode to.
Returns
Length of the encoded information.

Implements Gcs_stage_metadata.

◆ operator=() [1/2]

Gcs_empty_stage_metadata & Gcs_empty_stage_metadata::operator= ( Gcs_empty_stage_metadata &&  )
default

◆ operator=() [2/2]

Gcs_empty_stage_metadata & Gcs_empty_stage_metadata::operator= ( Gcs_empty_stage_metadata const &  )
default

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