MySQL 8.4.2
Source Code Documentation
dd::Partition_index Class Referenceabstract

#include <partition_index.h>

Inheritance diagram for dd::Partition_index:
[legend]

Public Types

typedef Partition_index_impl Impl
 
typedef tables::Index_partitions DD_table
 

Public Member Functions

 ~Partition_index () override=default
 
virtual const Partitionpartition () const =0
 
virtual Partitionpartition ()=0
 
virtual const Indexindex () const =0
 
virtual Indexindex ()=0
 
const String_typename () const
 
virtual const Propertiesoptions () const =0
 
virtual Propertiesoptions ()=0
 
virtual bool set_options (const Properties &options)=0
 
virtual bool set_options (const String_type &options_raw)=0
 
virtual const Propertiesse_private_data () const =0
 
virtual Propertiesse_private_data ()=0
 
virtual bool set_se_private_data (const String_type &se_private_data_raw)=0
 
virtual bool set_se_private_data (const Properties &se_private_data)=0
 
virtual Object_id tablespace_id () const =0
 
virtual void set_tablespace_id (Object_id tablespace_id)=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 ()=default
 
 Weak_object (const Weak_object &)=default
 
virtual ~Weak_object ()=default
 

Member Typedef Documentation

◆ DD_table

◆ Impl

Constructor & Destructor Documentation

◆ ~Partition_index()

dd::Partition_index::~Partition_index ( )
overridedefault

Member Function Documentation

◆ deserialize()

virtual bool dd::Partition_index::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

Implemented in dd::Partition_index_impl.

◆ index() [1/2]

virtual const Index & dd::Partition_index::index ( ) const
pure virtual

Implemented in dd::Partition_index_impl.

◆ index() [2/2]

virtual Index & dd::Partition_index::index ( )
pure virtual

Implemented in dd::Partition_index_impl.

◆ name()

const String_type & dd::Partition_index::name ( ) const
inline

◆ options() [1/2]

virtual const Properties & dd::Partition_index::options ( ) const
pure virtual

Implemented in dd::Partition_index_impl.

◆ options() [2/2]

virtual Properties & dd::Partition_index::options ( )
pure virtual

Implemented in dd::Partition_index_impl.

◆ partition() [1/2]

virtual const Partition & dd::Partition_index::partition ( ) const
pure virtual

Implemented in dd::Partition_index_impl.

◆ partition() [2/2]

virtual Partition & dd::Partition_index::partition ( )
pure virtual

Implemented in dd::Partition_index_impl.

◆ se_private_data() [1/2]

virtual const Properties & dd::Partition_index::se_private_data ( ) const
pure virtual

Implemented in dd::Partition_index_impl.

◆ se_private_data() [2/2]

virtual Properties & dd::Partition_index::se_private_data ( )
pure virtual

Implemented in dd::Partition_index_impl.

◆ serialize()

virtual void dd::Partition_index::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::Partition_index_impl.

◆ set_options() [1/2]

virtual bool dd::Partition_index::set_options ( const Properties options)
pure virtual

Implemented in dd::Partition_index_impl.

◆ set_options() [2/2]

virtual bool dd::Partition_index::set_options ( const String_type options_raw)
pure virtual

Implemented in dd::Partition_index_impl.

◆ set_se_private_data() [1/2]

virtual bool dd::Partition_index::set_se_private_data ( const Properties se_private_data)
pure virtual

Implemented in dd::Partition_index_impl.

◆ set_se_private_data() [2/2]

virtual bool dd::Partition_index::set_se_private_data ( const String_type se_private_data_raw)
pure virtual

Implemented in dd::Partition_index_impl.

◆ set_tablespace_id()

virtual void dd::Partition_index::set_tablespace_id ( Object_id  tablespace_id)
pure virtual

Implemented in dd::Partition_index_impl.

◆ tablespace_id()

virtual Object_id dd::Partition_index::tablespace_id ( ) const
pure virtual

Implemented in dd::Partition_index_impl.


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