MySQL 8.0.39
Source Code Documentation
|
Base class for both generated and regular column definitions. More...
#include <parse_tree_column_attrs.h>
Public Member Functions | |
bool | contextualize (Parse_context *pc) override |
Public Member Functions inherited from Parse_tree_node_tmpl< Context > | |
virtual | ~Parse_tree_node_tmpl ()=default |
bool | is_contextualized () const |
virtual bool | contextualize (Context *pc) |
Do all context-sensitive things and mark the node as contextualized. More... | |
void | error (Context *pc, const POS &pos) const |
syntax_error() function replacement for deferred reporting of syntax errors More... | |
void | error (Context *pc, const POS &pos, const char *msg) const |
syntax_error() function replacement for deferred reporting of syntax errors More... | |
void | errorf (Context *pc, const POS &pos, const char *format,...) const |
syntax_error() function replacement for deferred reporting of syntax errors More... | |
Public Attributes | |
enum_field_types | type |
ulong | type_flags |
const char * | length |
const char * | dec |
const CHARSET_INFO * | charset |
bool | has_explicit_collation |
uint | uint_geom_type |
List< String > * | interval_list |
alter_info_flags_t | alter_info_flags |
LEX_CSTRING | comment |
Item * | default_value |
Item * | on_update_value |
Value_generator * | gcol_info |
Value_generator * | default_val_info |
Holds the expression to generate default values. More... | |
std::optional< gis::srid_t > | m_srid |
Sql_check_constraint_spec_list * | check_const_spec_list {nullptr} |
Protected Member Functions | |
PT_field_def_base (PT_type *type_node) | |
template<class T > | |
bool | contextualize_attrs (Column_parse_context *pc, Mem_root_array< T * > *attrs) |
Protected Member Functions inherited from Parse_tree_node_tmpl< Context > | |
Parse_tree_node_tmpl () | |
Protected Attributes | |
PT_type * | type_node |
Private Types | |
typedef Parse_tree_node | super |
typedef decltype(Alter_info::flags) | alter_info_flags_t |
Additional Inherited Members | |
Public Types inherited from Parse_tree_node_tmpl< Context > | |
typedef Context | context_t |
Static Public Member Functions inherited from Parse_tree_node_tmpl< Context > | |
static void * | operator new (size_t size, MEM_ROOT *mem_root, const std::nothrow_t &arg=std::nothrow) noexcept |
static void | operator delete (void *ptr, size_t size) |
static void | operator delete (void *, MEM_ROOT *, const std::nothrow_t &) noexcept |
Base class for both generated and regular column definitions.
|
private |
|
private |
|
inlineexplicitprotected |
|
inlineoverride |
|
inlineprotected |
alter_info_flags_t PT_field_def_base::alter_info_flags |
const CHARSET_INFO* PT_field_def_base::charset |
Sql_check_constraint_spec_list* PT_field_def_base::check_const_spec_list {nullptr} |
LEX_CSTRING PT_field_def_base::comment |
const char* PT_field_def_base::dec |
Value_generator* PT_field_def_base::default_val_info |
Holds the expression to generate default values.
Item* PT_field_def_base::default_value |
Value_generator* PT_field_def_base::gcol_info |
bool PT_field_def_base::has_explicit_collation |
const char* PT_field_def_base::length |
std::optional<gis::srid_t> PT_field_def_base::m_srid |
Item* PT_field_def_base::on_update_value |
enum_field_types PT_field_def_base::type |
ulong PT_field_def_base::type_flags |
|
protected |
uint PT_field_def_base::uint_geom_type |