MySQL  8.0.19
Source Code Documentation
dd::View_table_impl Class Reference

#include <view_table_impl.h>

Inheritance diagram for dd::View_table_impl:
dd::Weak_object_impl dd::View_table dd::Weak_object dd::Weak_object

Public Member Functions

 View_table_impl ()
 
 View_table_impl (View_impl *view)
 
 View_table_impl (const View_table_impl &src, View_impl *parent)
 
virtual ~View_table_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_typetable_catalog () const
 
virtual void set_table_catalog (const String_type &table_catalog)
 
virtual const String_typetable_schema () const
 
virtual void set_table_schema (const String_type &table_schema)
 
virtual const String_typetable_name () const
 
virtual void set_table_name (const String_type &table_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_table
virtual ~View_table ()
 

Static Public Member Functions

static void register_tables (Open_dictionary_tables_ctx *otx)
 
static View_table_implrestore_item (View_impl *view)
 
static View_table_implclone (const View_table_impl &other, View_impl *view)
 

Private Attributes

String_type m_table_catalog
 
String_type m_table_schema
 
String_type m_table_name
 
View_implm_view
 

Additional Inherited Members

- Public Types inherited from dd::View_table
typedef View_table_impl Impl
 
typedef tables::View_table_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_table_impl() [1/3]

dd::View_table_impl::View_table_impl ( )

◆ View_table_impl() [2/3]

dd::View_table_impl::View_table_impl ( View_impl view)

◆ View_table_impl() [3/3]

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

◆ ~View_table_impl()

virtual dd::View_table_impl::~View_table_impl ( )
inlinevirtual

Member Function Documentation

◆ clone()

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

◆ create_primary_key()

Object_key * dd::View_table_impl::create_primary_key ( ) const
virtual

Implements dd::Weak_object_impl.

◆ debug_print()

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

Implements dd::Weak_object.

◆ has_new_primary_key()

bool dd::View_table_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_table_impl::object_table ( ) const
virtual

Implements dd::Weak_object_impl.

◆ ordinal_position()

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

◆ register_tables()

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

◆ restore_attributes()

bool dd::View_table_impl::restore_attributes ( const Raw_record r)
virtual

Implements dd::Weak_object_impl.

◆ restore_item()

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

◆ set_ordinal_position()

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

◆ set_table_catalog()

virtual void dd::View_table_impl::set_table_catalog ( const String_type table_catalog)
inlinevirtual

Implements dd::View_table.

◆ set_table_name()

virtual void dd::View_table_impl::set_table_name ( const String_type table_name)
inlinevirtual

Implements dd::View_table.

◆ set_table_schema()

virtual void dd::View_table_impl::set_table_schema ( const String_type table_schema)
inlinevirtual

Implements dd::View_table.

◆ store_attributes()

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

Implements dd::Weak_object_impl.

◆ table_catalog()

virtual const String_type& dd::View_table_impl::table_catalog ( ) const
inlinevirtual

Implements dd::View_table.

◆ table_name()

virtual const String_type& dd::View_table_impl::table_name ( ) const
inlinevirtual

Implements dd::View_table.

◆ table_schema()

virtual const String_type& dd::View_table_impl::table_schema ( ) const
inlinevirtual

Implements dd::View_table.

◆ validate()

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

Implements dd::Weak_object_impl.

◆ view() [1/2]

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

Implements dd::View_table.

◆ view() [2/2]

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

Implements dd::View_table.

Member Data Documentation

◆ m_table_catalog

String_type dd::View_table_impl::m_table_catalog
private

◆ m_table_name

String_type dd::View_table_impl::m_table_name
private

◆ m_table_schema

String_type dd::View_table_impl::m_table_schema
private

◆ m_view

View_impl* dd::View_table_impl::m_view
private

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