MySQL 8.0.39
Source Code Documentation
Serialized Dictionary Information

Code to serialize and deserialize data dictionary objects, and for storing and retrieving the serialized representation from files or tablespaces. More...

Collaboration diagram for Serialized Dictionary Information:

Modules

 (De)serialize api functions.
 Functions for serializing (with complete header) and deserializing the dd object which supports this.
 
 Function Templates for Composite Types
 Defines function templates to handle types that do not map directly to a rapidjson type, and require some amount of converson/adaptation.
 
 Internal Sdi_context Functions
 Declarations of internal functions which operate on Sdi_context objects.
 
 Key-related Function Templates
 Defines wrapper function templates which handles the key part when writing and writing json.
 
 Prealloced_array Typedefs
 Defines a sub-class of Prealloced_array and some useful typedefs for use in (de)serialization code.
 
 Rapidjson Type Aliases
 Create type aliases for rapidjson template instantiations which will be used by (de)serialization code.
 
 SDI API
 Definition of externally visible functions and classes, declared in sdi.h.
 
 SDI Internal
 Objects internal to sdi-creation, and not callable from general server code.
 
 Storage operations for SDIs in tablespaces.
 Called from functions in sdi.cc if the dd object resides in an SE supporting SDI storage in tablespaces.
 
 Storage operations on SDIs.
 Functions for storing and dropping (deleting) SDIs.
 
 TU-internal definitions
 Functions and classes internal to the translation unit in the anonymous namespace.
 
 Value Function Overloads
 Defines function templates for writing a "bare" (without the key) json value.
 

Files

file  sdi.cc
 Definition of all sdi functions, except those that are - (de)serialize() member function in data dictionary objects - function templates which are defined in sdi_impl.h.
 
file  sdi.h
 Exposes SDI-related functionality to the rest of the dictionary code.
 
file  sdi_file.cc
 Storage and retrieval of SDIs to/from files.
 
file  sdi_tablespace.cc
 Storage and retrieval of SDIs to/form tablespaces.
 
file  sdi_utils.h
 Inline utility functions used in different TUs.
 
file  sdi_fwd.h
 This header provides Rapidjson Type Aliases.
 

Detailed Description

Code to serialize and deserialize data dictionary objects, and for storing and retrieving the serialized representation from files or tablespaces.