MySQL 8.0.39
Source Code Documentation
dd::Partition_value Class Referenceabstract

#include <partition_value.h>

Inheritance diagram for dd::Partition_value:
[legend]

Public Types

typedef Partition_value_impl Impl
 
typedef tables::Table_partition_values DD_table
 

Public Member Functions

 ~Partition_value () override=default
 
virtual const Partitionpartition () const =0
 
virtual Partitionpartition ()=0
 
virtual uint list_num () const =0
 
virtual void set_list_num (uint list_num)=0
 
virtual uint column_num () const =0
 
virtual void set_column_num (uint column_num)=0
 
virtual const String_typevalue_utf8 () const =0
 
virtual void set_value_utf8 (const String_type &value)=0
 
virtual bool max_value () const =0
 
virtual void set_max_value (bool max_value)=0
 
virtual bool is_value_null () const =0
 
virtual void set_value_null (bool is_null)=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_value()

dd::Partition_value::~Partition_value ( )
overridedefault

Member Function Documentation

◆ column_num()

virtual uint dd::Partition_value::column_num ( ) const
pure virtual

Implemented in dd::Partition_value_impl.

◆ deserialize()

virtual bool dd::Partition_value::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_value_impl.

◆ is_value_null()

virtual bool dd::Partition_value::is_value_null ( ) const
pure virtual

Implemented in dd::Partition_value_impl.

◆ list_num()

virtual uint dd::Partition_value::list_num ( ) const
pure virtual

Implemented in dd::Partition_value_impl.

◆ max_value()

virtual bool dd::Partition_value::max_value ( ) const
pure virtual

Implemented in dd::Partition_value_impl.

◆ partition() [1/2]

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

Implemented in dd::Partition_value_impl.

◆ partition() [2/2]

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

Implemented in dd::Partition_value_impl.

◆ serialize()

virtual void dd::Partition_value::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_value_impl.

◆ set_column_num()

virtual void dd::Partition_value::set_column_num ( uint  column_num)
pure virtual

Implemented in dd::Partition_value_impl.

◆ set_list_num()

virtual void dd::Partition_value::set_list_num ( uint  list_num)
pure virtual

Implemented in dd::Partition_value_impl.

◆ set_max_value()

virtual void dd::Partition_value::set_max_value ( bool  max_value)
pure virtual

Implemented in dd::Partition_value_impl.

◆ set_value_null()

virtual void dd::Partition_value::set_value_null ( bool  is_null)
pure virtual

Implemented in dd::Partition_value_impl.

◆ set_value_utf8()

virtual void dd::Partition_value::set_value_utf8 ( const String_type value)
pure virtual

Implemented in dd::Partition_value_impl.

◆ value_utf8()

virtual const String_type & dd::Partition_value::value_utf8 ( ) const
pure virtual

Implemented in dd::Partition_value_impl.


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