MySQL 8.0.40
Source Code Documentation
|
This is an interface for encoding the gtids in the payload of the the OK packet. More...
Public Member Functions | |
Session_gtids_ctx_encoder ()=default | |
virtual | ~Session_gtids_ctx_encoder ()=default |
virtual bool | encode (THD *thd, String &buf)=0 |
virtual ulonglong | encoding_specification ()=0 |
Private Member Functions | |
Session_gtids_ctx_encoder (const Session_gtids_ctx_encoder &rsc) | |
Session_gtids_ctx_encoder & | operator= (const Session_gtids_ctx_encoder &rsc) |
This is an interface for encoding the gtids in the payload of the the OK packet.
In the future we may have different types of payloads, thence we may have different encoders specifications/types. This implies changing either, the encoding specification code, the actual encoding procedure or both at the same time.
New encoders can extend this interface/abstract class or extend other encoders in the hierarchy.
|
default |
|
virtualdefault |
|
private |
Implemented in Session_gtids_ctx_encoder_string.
|
pure virtual |
Implemented in Session_gtids_ctx_encoder_string.
|
private |