MySQL  8.0.21
Source Code Documentation
dd::View_routine_impl Class Reference

#include <view_routine_impl.h>

Inheritance diagram for dd::View_routine_impl:
dd::Weak_object_impl dd::View_routine dd::Weak_object dd::Weak_object

Public Member Functions

 View_routine_impl ()
 
 View_routine_impl (View_impl *view)
 
 View_routine_impl (const View_routine_impl &src, View_impl *parent)
 
virtual ~View_routine_impl ()
 
virtual const Object_tableobject_table () const
 
virtual bool validate () const
 
virtual bool store_attributes (Raw_record *r)
 
virtual bool restore_attributes (const Raw_record &r)
 
virtual void debug_print (String_type &outb) const
 
void set_ordinal_position (uint)
 
virtual uint ordinal_position () const
 
virtual const String_typeroutine_catalog () const
 
virtual void set_routine_catalog (const String_type &sf_catalog)
 
virtual const String_typeroutine_schema () const
 
virtual void set_routine_schema (const String_type &sf_schema)
 
virtual const String_typeroutine_name () const
 
virtual void set_routine_name (const String_type &sf_name)
 
virtual const Viewview () const
 
virtual Viewview ()
 
virtual Object_keycreate_primary_key () const
 
virtual bool has_new_primary_key () const
 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
 Weak_object_impl ()
 
virtual ~Weak_object_impl ()
 
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 ()
 
 Weak_object (const Weak_object &)=default
 
virtual ~Weak_object ()
 
- Public Member Functions inherited from dd::View_routine
virtual ~View_routine ()
 

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
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 ( )

◆ 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()

virtual dd::View_routine_impl::~View_routine_impl ( )
inlinevirtual

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
virtual

Implements dd::Weak_object_impl.

◆ debug_print()

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

Implements dd::Weak_object.

◆ has_new_primary_key()

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

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.

◆ object_table()

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

Implements dd::Weak_object_impl.

◆ 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)
virtual

Implements dd::Weak_object_impl.

◆ restore_item()

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

◆ routine_catalog()

virtual const String_type& dd::View_routine_impl::routine_catalog ( ) const
inlinevirtual

Implements dd::View_routine.

◆ routine_name()

virtual const String_type& dd::View_routine_impl::routine_name ( ) const
inlinevirtual

Implements dd::View_routine.

◆ routine_schema()

virtual const String_type& dd::View_routine_impl::routine_schema ( ) const
inlinevirtual

Implements dd::View_routine.

◆ set_ordinal_position()

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

◆ set_routine_catalog()

virtual void dd::View_routine_impl::set_routine_catalog ( const String_type sf_catalog)
inlinevirtual

Implements dd::View_routine.

◆ set_routine_name()

virtual void dd::View_routine_impl::set_routine_name ( const String_type sf_name)
inlinevirtual

Implements dd::View_routine.

◆ set_routine_schema()

virtual void dd::View_routine_impl::set_routine_schema ( const String_type sf_schema)
inlinevirtual

Implements dd::View_routine.

◆ store_attributes()

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

Implements dd::Weak_object_impl.

◆ validate()

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

Implements dd::Weak_object_impl.

◆ view() [1/2]

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

Implements dd::View_routine.

◆ view() [2/2]

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

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: