MySQL 8.0.39
Source Code Documentation
dd::system_views::System_view_definition_impl Class Referenceabstract

#include <system_view_definition_impl.h>

Inheritance diagram for dd::system_views::System_view_definition_impl:
[legend]

Public Member Functions

virtual const String_typeview_name () const
 Get view name. More...
 
virtual void set_view_name (const String_type &name)
 Set view name. More...
 
String_type build_ddl_create_view () const override=0
 Build CREATE VIEW DDL statement for the system view. More...
 
- Public Member Functions inherited from dd::system_views::System_view_definition
virtual ~System_view_definition ()=default
 

Static Public Member Functions

static const String_type fs_name_collation ()
 Get collation clause to append to view definition for some view columns based on lower_case_table_names. More...
 

Private Attributes

String_type m_view_name
 

Member Function Documentation

◆ build_ddl_create_view()

String_type dd::system_views::System_view_definition_impl::build_ddl_create_view ( ) const
overridepure virtual

Build CREATE VIEW DDL statement for the system view.

Returns
String_type containing the DDL statement for the target view.

Implements dd::system_views::System_view_definition.

Implemented in dd::system_views::System_view_select_definition_impl, and dd::system_views::System_view_union_definition_impl.

◆ fs_name_collation()

static const String_type dd::system_views::System_view_definition_impl::fs_name_collation ( )
inlinestatic

Get collation clause to append to view definition for some view columns based on lower_case_table_names.

Returns
Empty string if lctn=0, other wise " COLLATE utf8mb3_tolower_ci".

◆ set_view_name()

virtual void dd::system_views::System_view_definition_impl::set_view_name ( const String_type name)
inlinevirtual

Set view name.

◆ view_name()

virtual const String_type & dd::system_views::System_view_definition_impl::view_name ( ) const
inlinevirtual

Get view name.

Returns
name of the view.

Member Data Documentation

◆ m_view_name

String_type dd::system_views::System_view_definition_impl::m_view_name
private

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