MySQL 9.0.0
Source Code Documentation
dd::View_routine_impl Class Reference

#include <view_routine_impl.h>

Inheritance diagram for dd::View_routine_impl:
[legend]

Public Member Functions

 View_routine_impl ()
 
 View_routine_impl (View_impl *view)
 
 View_routine_impl (const View_routine_impl &src, View_impl *parent)
 
 ~View_routine_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 debug_print (String_type &outb) const override
 
void set_ordinal_position (uint)
 
virtual uint ordinal_position () const
 
const String_typeroutine_catalog () const override
 
void set_routine_catalog (const String_type &sf_catalog) override
 
const String_typeroutine_schema () const override
 
void set_routine_schema (const String_type &sf_schema) override
 
const String_typeroutine_name () const override
 
void set_routine_name (const String_type &sf_name) override
 
const Viewview () const override
 
Viewview () override
 
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...
 
- 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::View_routine
 ~View_routine () override=default
 

Static Public Member Functions

static void register_tables (Open_dictionary_tables_ctx *otx)
 
static View_routine_implrestore_item (View_impl *view)
 
static View_routine_implclone (const View_routine_impl &other, View_impl *view)
 

Private Attributes

String_type m_routine_catalog
 
String_type m_routine_schema
 
String_type m_routine_name
 
View_implm_view
 

Additional Inherited Members

- Public Types inherited from dd::View_routine
typedef View_routine_impl Impl
 
typedef tables::View_routine_usage DD_table
 
- 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
 

Constructor & Destructor Documentation

◆ View_routine_impl() [1/3]

dd::View_routine_impl::View_routine_impl ( )
default

◆ View_routine_impl() [2/3]

dd::View_routine_impl::View_routine_impl ( View_impl view)

◆ View_routine_impl() [3/3]

dd::View_routine_impl::View_routine_impl ( const View_routine_impl src,
View_impl parent 
)

◆ ~View_routine_impl()

dd::View_routine_impl::~View_routine_impl ( )
overridedefault

Member Function Documentation

◆ clone()

static View_routine_impl * dd::View_routine_impl::clone ( const View_routine_impl other,
View_impl view 
)
inlinestatic

◆ create_primary_key()

Object_key * dd::View_routine_impl::create_primary_key ( ) const
overridevirtual

◆ debug_print()

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

Implements dd::Weak_object.

◆ has_new_primary_key()

bool dd::View_routine_impl::has_new_primary_key ( ) const
overridevirtual

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 >.

◆ object_table()

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

◆ ordinal_position()

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

◆ register_tables()

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

◆ restore_attributes()

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

◆ restore_item()

static View_routine_impl * dd::View_routine_impl::restore_item ( View_impl view)
inlinestatic

◆ routine_catalog()

const String_type & dd::View_routine_impl::routine_catalog ( ) const
inlineoverridevirtual

Implements dd::View_routine.

◆ routine_name()

const String_type & dd::View_routine_impl::routine_name ( ) const
inlineoverridevirtual

Implements dd::View_routine.

◆ routine_schema()

const String_type & dd::View_routine_impl::routine_schema ( ) const
inlineoverridevirtual

Implements dd::View_routine.

◆ set_ordinal_position()

void dd::View_routine_impl::set_ordinal_position ( uint  )
inline

◆ set_routine_catalog()

void dd::View_routine_impl::set_routine_catalog ( const String_type sf_catalog)
inlineoverridevirtual

Implements dd::View_routine.

◆ set_routine_name()

void dd::View_routine_impl::set_routine_name ( const String_type sf_name)
inlineoverridevirtual

Implements dd::View_routine.

◆ set_routine_schema()

void dd::View_routine_impl::set_routine_schema ( const String_type sf_schema)
inlineoverridevirtual

Implements dd::View_routine.

◆ store_attributes()

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

◆ validate()

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

◆ view() [1/2]

const View & dd::View_routine_impl::view ( ) const
overridevirtual

Implements dd::View_routine.

◆ view() [2/2]

View & dd::View_routine_impl::view ( )
overridevirtual

Implements dd::View_routine.

Member Data Documentation

◆ m_routine_catalog

String_type dd::View_routine_impl::m_routine_catalog
private

◆ m_routine_name

String_type dd::View_routine_impl::m_routine_name
private

◆ m_routine_schema

String_type dd::View_routine_impl::m_routine_schema
private

◆ m_view

View_impl* dd::View_routine_impl::m_view
private

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