MySQL 9.0.0
Source Code Documentation
dd::Parameter_type_element_impl Class Reference

#include <parameter_type_element_impl.h>

Inheritance diagram for dd::Parameter_type_element_impl:
[legend]

Public Member Functions

 Parameter_type_element_impl ()
 
 Parameter_type_element_impl (Parameter_impl *parameter)
 
 Parameter_type_element_impl (const Parameter_type_element_impl &src, Parameter_impl *parent)
 
 ~Parameter_type_element_impl () override=default
 
const Object_tableobject_table () const override
 
bool validate () const override
 
bool store_attributes (Raw_record *r) override
 
bool restore_attributes (const Raw_record &r) override
 
void set_ordinal_position (uint ordinal_position)
 
virtual uint ordinal_position () const
 
const String_typename () const override
 
void set_name (const String_type &name) override
 
const Parameterparameter () const override
 
uint index () const override
 
void debug_print (String_type &outb) const override
 
- Public Member Functions inherited from dd::Weak_object_impl_< use_pfs >
 Weak_object_impl_ ()=default
 
 ~Weak_object_impl_ () override=default
 
void * operator new (size_t size, const std::nothrow_t &nt) noexcept
 
void operator delete (void *ptr, const std::nothrow_t &nt) noexcept
 
void * operator new (size_t size) noexcept
 
void operator delete (void *ptr) noexcept
 
virtual bool store (Open_dictionary_tables_ctx *otx)
 Store the DD object into DD table. More...
 
bool drop (Open_dictionary_tables_ctx *otx) const
 Drop the DD object from DD table. More...
 
virtual bool restore_children (Open_dictionary_tables_ctx *)
 
virtual bool store_children (Open_dictionary_tables_ctx *)
 
virtual bool drop_children (Open_dictionary_tables_ctx *) const
 
- Public Member Functions inherited from dd::Weak_object
 Weak_object ()=default
 
 Weak_object (const Weak_object &)=default
 
virtual ~Weak_object ()=default
 
- Public Member Functions inherited from dd::Parameter_type_element
 ~Parameter_type_element () override=default
 

Static Public Member Functions

static void register_tables (Open_dictionary_tables_ctx *otx)
 
static Parameter_type_element_implrestore_item (Parameter_impl *parameter)
 
static Parameter_type_element_implclone (const Parameter_type_element_impl &other, Parameter_impl *parameter)
 

Protected Member Functions

Object_keycreate_primary_key () const override
 
bool has_new_primary_key () const override
 Indicates that object is guaranteed to have primary key value which doesn't exist in database (e.g. More...
 
- Protected Member Functions inherited from dd::Weak_object_impl_< use_pfs >
virtual void set_primary_key_value (const Raw_new_record &)
 
virtual void fix_has_new_primary_key ()
 
bool check_parent_consistency (Entity_object_impl *parent, Object_id parent_id) const
 

Protected Attributes

String_type m_name
 
uint m_index
 
Parameter_implm_parameter
 

Additional Inherited Members

- Public Types inherited from dd::Parameter_type_element
typedef Parameter_type_element_impl Impl
 
typedef tables::Parameter_type_elements DD_table
 

Constructor & Destructor Documentation

◆ Parameter_type_element_impl() [1/3]

dd::Parameter_type_element_impl::Parameter_type_element_impl ( )
inline

◆ Parameter_type_element_impl() [2/3]

dd::Parameter_type_element_impl::Parameter_type_element_impl ( Parameter_impl parameter)
inline

◆ Parameter_type_element_impl() [3/3]

dd::Parameter_type_element_impl::Parameter_type_element_impl ( const Parameter_type_element_impl src,
Parameter_impl parent 
)

◆ ~Parameter_type_element_impl()

dd::Parameter_type_element_impl::~Parameter_type_element_impl ( )
overridedefault

Member Function Documentation

◆ clone()

static Parameter_type_element_impl * dd::Parameter_type_element_impl::clone ( const Parameter_type_element_impl other,
Parameter_impl parameter 
)
inlinestatic

◆ create_primary_key()

Object_key * dd::Parameter_type_element_impl::create_primary_key ( ) const
overrideprotectedvirtual

◆ debug_print()

void dd::Parameter_type_element_impl::debug_print ( String_type outb) const
overridevirtual

Implements dd::Weak_object.

◆ has_new_primary_key()

bool dd::Parameter_type_element_impl::has_new_primary_key ( ) const
overrideprotectedvirtual

Indicates that object is guaranteed to have primary key value which doesn't exist in database (e.g.

because it only will be generated using auto-increment at store() time). So it is ok for store() method to skip lookup of existing object with the same primary key and simply try to insert new object into the table.

Implements dd::Weak_object_impl_< use_pfs >.

◆ index()

uint dd::Parameter_type_element_impl::index ( ) const
inlineoverridevirtual

◆ name()

const String_type & dd::Parameter_type_element_impl::name ( ) const
inlineoverridevirtual

◆ object_table()

const Object_table & dd::Parameter_type_element_impl::object_table ( ) const
overridevirtual

◆ ordinal_position()

virtual uint dd::Parameter_type_element_impl::ordinal_position ( ) const
inlinevirtual

◆ parameter()

const Parameter & dd::Parameter_type_element_impl::parameter ( ) const
overridevirtual

◆ register_tables()

void dd::Parameter_type_element_impl::register_tables ( Open_dictionary_tables_ctx otx)
static

◆ restore_attributes()

bool dd::Parameter_type_element_impl::restore_attributes ( const Raw_record r)
overridevirtual

◆ restore_item()

static Parameter_type_element_impl * dd::Parameter_type_element_impl::restore_item ( Parameter_impl parameter)
inlinestatic

◆ set_name()

void dd::Parameter_type_element_impl::set_name ( const String_type name)
inlineoverridevirtual

◆ set_ordinal_position()

void dd::Parameter_type_element_impl::set_ordinal_position ( uint  ordinal_position)
inline

◆ store_attributes()

bool dd::Parameter_type_element_impl::store_attributes ( Raw_record r)
overridevirtual

◆ validate()

bool dd::Parameter_type_element_impl::validate ( ) const
overridevirtual

Member Data Documentation

◆ m_index

uint dd::Parameter_type_element_impl::m_index
protected

◆ m_name

String_type dd::Parameter_type_element_impl::m_name
protected

◆ m_parameter

Parameter_impl* dd::Parameter_type_element_impl::m_parameter
protected

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