OmniSciDB  c07336695a
Parser::ColumnDef Class Reference

#include <ParserNode.h>

+ Inheritance diagram for Parser::ColumnDef:
+ Collaboration diagram for Parser::ColumnDef:

Public Member Functions

 ColumnDef (std::string *c, SQLType *t, CompressDef *cp, ColumnConstraintDef *cc)
 
const std::string * get_column_name () const
 
SQLTypeget_column_type () const
 
const CompressDefget_compression () const
 
const ColumnConstraintDefget_column_constraint () const
 
- Public Member Functions inherited from Parser::Node
virtual ~Node ()
 

Private Attributes

std::unique_ptr< std::string > column_name
 
std::unique_ptr< SQLTypecolumn_type
 
std::unique_ptr< CompressDefcompression
 
std::unique_ptr< ColumnConstraintDefcolumn_constraint
 

Detailed Description

Definition at line 800 of file ParserNode.h.

Constructor & Destructor Documentation

◆ ColumnDef()

Parser::ColumnDef::ColumnDef ( std::string *  c,
SQLType t,
CompressDef cp,
ColumnConstraintDef cc 
)
inline

Definition at line 802 of file ParserNode.h.

void c(const std::string &query_string, const ExecutorDeviceType device_type)
std::unique_ptr< ColumnConstraintDef > column_constraint
Definition: ParserNode.h:815
std::unique_ptr< SQLType > column_type
Definition: ParserNode.h:813
std::unique_ptr< std::string > column_name
Definition: ParserNode.h:812
std::unique_ptr< CompressDef > compression
Definition: ParserNode.h:814

Member Function Documentation

◆ get_column_constraint()

const ColumnConstraintDef* Parser::ColumnDef::get_column_constraint ( ) const
inline

Definition at line 807 of file ParserNode.h.

Referenced by Parser::DDLStmt::setColumnDescriptor().

807  {
808  return column_constraint.get();
809  }
std::unique_ptr< ColumnConstraintDef > column_constraint
Definition: ParserNode.h:815
+ Here is the caller graph for this function:

◆ get_column_name()

const std::string* Parser::ColumnDef::get_column_name ( ) const
inline

Definition at line 804 of file ParserNode.h.

Referenced by Parser::CreateTableStmt::execute(), and Parser::DDLStmt::setColumnDescriptor().

804 { return column_name.get(); }
std::unique_ptr< std::string > column_name
Definition: ParserNode.h:812
+ Here is the caller graph for this function:

◆ get_column_type()

SQLType* Parser::ColumnDef::get_column_type ( ) const
inline

Definition at line 805 of file ParserNode.h.

Referenced by Parser::DDLStmt::setColumnDescriptor().

805 { return column_type.get(); }
std::unique_ptr< SQLType > column_type
Definition: ParserNode.h:813
+ Here is the caller graph for this function:

◆ get_compression()

const CompressDef* Parser::ColumnDef::get_compression ( ) const
inline

Definition at line 806 of file ParserNode.h.

Referenced by anonymous_namespace{SharedDictionaryValidator.cpp}::get_compression_for_column(), and Parser::DDLStmt::setColumnDescriptor().

806 { return compression.get(); }
std::unique_ptr< CompressDef > compression
Definition: ParserNode.h:814
+ Here is the caller graph for this function:

Member Data Documentation

◆ column_constraint

std::unique_ptr<ColumnConstraintDef> Parser::ColumnDef::column_constraint
private

Definition at line 815 of file ParserNode.h.

◆ column_name

std::unique_ptr<std::string> Parser::ColumnDef::column_name
private

Definition at line 812 of file ParserNode.h.

◆ column_type

std::unique_ptr<SQLType> Parser::ColumnDef::column_type
private

Definition at line 813 of file ParserNode.h.

◆ compression

std::unique_ptr<CompressDef> Parser::ColumnDef::compression
private

Definition at line 814 of file ParserNode.h.


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