MySQL  8.0.18
Source Code Documentation
dd::Column_type_element Class Referenceabstract

#include <column_type_element.h>

Inheritance diagram for dd::Column_type_element:
dd::Weak_object dd::Column_type_element_impl

Public Types

typedef Column_type_element_impl Impl
 
typedef tables::Column_type_elements DD_table
 

Public Member Functions

virtual ~Column_type_element ()
 
virtual const String_typename () const =0
 
virtual void set_name (const String_type &name)=0
 
virtual const Columncolumn () const =0
 
virtual uint index () const =0
 
virtual void serialize (Sdi_wcontext *wctx, Sdi_writer *w) const =0
 Converts *this into json. More...
 
virtual bool deserialize (Sdi_rcontext *rctx, const RJ_Value &val)=0
 Re-establishes the state of *this by reading sdi information from the rapidjson DOM subobject provided. More...
 
- Public Member Functions inherited from dd::Weak_object
virtual void debug_print (String_type &outb) const =0
 
 Weak_object ()
 
 Weak_object (const Weak_object &)=default
 
virtual ~Weak_object ()
 

Member Typedef Documentation

◆ DD_table

◆ Impl

Constructor & Destructor Documentation

◆ ~Column_type_element()

virtual dd::Column_type_element::~Column_type_element ( )
inlinevirtual

Member Function Documentation

◆ column()

virtual const Column& dd::Column_type_element::column ( ) const
pure virtual

◆ deserialize()

virtual bool dd::Column_type_element::deserialize ( Sdi_rcontext rctx,
const RJ_Value val 
)
pure virtual

Re-establishes the state of *this by reading sdi information from the rapidjson DOM subobject provided.

Cross-references encountered within this object are tracked in sdictx, so that they can be updated when the entire object graph has been established.

Parameters
rctxstores book-keeping information for the deserialization process
valsubobject of rapidjson DOM containing json representation of this object
Returns
Return values
falsesuccess
truefailure

Implemented in dd::Column_type_element_impl.

◆ index()

virtual uint dd::Column_type_element::index ( ) const
pure virtual

◆ name()

virtual const String_type& dd::Column_type_element::name ( ) const
pure virtual

◆ serialize()

virtual void dd::Column_type_element::serialize ( Sdi_wcontext wctx,
Sdi_writer w 
) const
pure virtual

Converts *this into json.

Converts all member variables that are to be included in the sdi into json by transforming them appropriately and passing them to the rapidjson writer provided.

Parameters
wctxopaque context for data needed by serialization
wrapidjson writer which will perform conversion to json

Implemented in dd::Column_type_element_impl.

◆ set_name()

virtual void dd::Column_type_element::set_name ( const String_type name)
pure virtual

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