MySQL  8.0.2
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...

Modules

 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 Template Declarations
 Inject template declarations for rapidjson templates for which we would like to forward declare an instantiation.
 
 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.
 
 SDI Unit-testing API
 Special functions used by unit tests but which are not available in the normal api.
 
 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
 Declares the SDI ((de)serialization) api which 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 Template Declarations which are needed to create 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.