MySQL 8.0.40
Source Code Documentation
|
Abstract class that defines specific metadata associated to a stage if it decides to extend it. More...
#include <gcs_internal_message_headers.h>
Public Member Functions | |
Gcs_stage_metadata ()=default | |
virtual | ~Gcs_stage_metadata () |
Gcs_stage_metadata (const Gcs_stage_metadata &)=default | |
Gcs_stage_metadata & | operator= (const Gcs_stage_metadata &)=default |
Gcs_stage_metadata (Gcs_stage_metadata &&)=default | |
Gcs_stage_metadata & | operator= (Gcs_stage_metadata &&)=default |
virtual std::unique_ptr< Gcs_stage_metadata > | clone ()=0 |
Creates a deep copy of this object. More... | |
virtual unsigned long long | calculate_encode_length () const =0 |
Calculate the length required to encode this object. More... | |
virtual unsigned long long | encode (unsigned char *buffer) const =0 |
Encode the contents of this instance into the buffer. More... | |
virtual unsigned long long | decode (const unsigned char *buffer)=0 |
Decode the contents of the buffer and sets the field values according to the values decoded. More... | |
virtual void | dump (std::ostringstream &output) const =0 |
Create a string representation of the header to be logged. More... | |
Abstract class that defines specific metadata associated to a stage if it decides to extend it.
|
default |
|
virtualdefault |
|
default |
|
default |
|
pure virtual |
Calculate the length required to encode this object.
Implemented in Gcs_empty_stage_metadata, and Gcs_split_header_v2.
|
pure virtual |
Creates a deep copy of this object.
Implemented in Gcs_empty_stage_metadata, and Gcs_split_header_v2.
|
pure virtual |
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.
buffer | The buffer to decode from. |
Implemented in Gcs_split_header_v2, and Gcs_empty_stage_metadata.
|
pure virtual |
Create a string representation of the header to be logged.
output | Reference to the output stream where the string will be created |
Implemented in Gcs_empty_stage_metadata, and Gcs_split_header_v2.
|
pure virtual |
Encode the contents of this instance into the buffer.
The encoding SHALL be done in little endian format.
buffer | The buffer to encode to. |
Implemented in Gcs_empty_stage_metadata, and Gcs_split_header_v2.
|
default |
|
default |