MySQL 8.0.39
Source Code Documentation
dd::Sdi_rcontext Class Reference

Opaque context which keeps reusable resoureces needed during deserialization. More...

Public Member Functions

 Sdi_rcontext (THD *thd, uint target_dd_version, std::uint64_t sdi_version)
 
bool error () const
 

Public Attributes

String_type m_schema_name
 

Private Attributes

Byte_buffer buf
 A reusable byte buffer for e.g. More...
 
dd_vector< Column * > m_column_object_opx
 Column objects created during deserialization. More...
 
dd_vector< Index * > m_index_object_opx
 Index objects created during deserialization. More...
 
THDm_thd
 Thread context. More...
 
uint m_target_dd_version
 Target dd version from SDI. More...
 
std::uint64_t m_sdi_version
 Sdi version from SDI. More...
 
bool m_error
 Flag indicating that an error has occurred. More...
 

Friends

void track_object (Sdi_rcontext *rctx, Column *column_object)
 Register Column objects being deserialized so that it will be possible to resolve references to it after deserialization has finished. More...
 
void track_object (Sdi_rcontext *rctx, Index *index_object)
 Register Index objects being deserialized so that it will be possible to resolve references to it after deserialization has finished. More...
 
Indexget_by_opx (Sdi_rcontext *rctx, const Index *, uint opx)
 Return an non-owning raw pointer to the deserialized Index object with ordinal position index opx (ordinal position opx+1). More...
 
Columnget_by_opx (Sdi_rcontext *rctx, const Column *, uint opx)
 Return an non-owning raw pointer to the deserialized Column object with ordinal position index opx (ordinal position opx+1). More...
 
char * buf_handle (Sdi_rcontext *rctx, size_t sz)
 Return a non-owning pointer to a char buffer which can be used for e.g. More...
 
bool lookup_schema_ref (Sdi_rcontext *rctx, const String_type &name, dd::Object_id *idp)
 Return the the Object_id of a schema name in the current data dictionary. More...
 
bool lookup_tablespace_ref (Sdi_rcontext *rctx, const String_type &name, Object_id *idp)
 Return the the Object_id of a tablespace name in the current data dictionary. More...
 

Detailed Description

Opaque context which keeps reusable resoureces needed during deserialization.


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