OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
< ColumnConstraintDef
column_constraint_
 

Detailed Description

Definition at line 823 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 825 of file ParserNode.h.

std::unique_ptr< std::string > column_name_
Definition: ParserNode.h:835
std::unique_ptr< SQLType > column_type_
Definition: ParserNode.h:836
std::unique_ptr< CompressDef > compression_
Definition: ParserNode.h:837
std::unique_ptr< ColumnConstraintDef > column_constraint_
Definition: ParserNode.h:838

Member Function Documentation

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

Definition at line 830 of file ParserNode.h.

References column_constraint_.

Referenced by Parser::set_column_descriptor().

830  {
831  return column_constraint_.get();
832  }
std::unique_ptr< ColumnConstraintDef > column_constraint_
Definition: ParserNode.h:838

+ Here is the caller graph for this function:

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

Definition at line 827 of file ParserNode.h.

References column_name_.

Referenced by Parser::CreateDataframeStmt::execute(), Parser::CreateTableStmt::executeDryRun(), and Parser::set_column_descriptor().

827 { return column_name_.get(); }
std::unique_ptr< std::string > column_name_
Definition: ParserNode.h:835

+ Here is the caller graph for this function:

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

Definition at line 828 of file ParserNode.h.

References column_type_.

Referenced by Parser::set_column_descriptor().

828 { return column_type_.get(); }
std::unique_ptr< SQLType > column_type_
Definition: ParserNode.h:836

+ Here is the caller graph for this function:

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

Definition at line 829 of file ParserNode.h.

References compression_.

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

829 { return compression_.get(); }
std::unique_ptr< CompressDef > compression_
Definition: ParserNode.h:837

+ Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 838 of file ParserNode.h.

Referenced by get_column_constraint().

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

Definition at line 835 of file ParserNode.h.

Referenced by get_column_name().

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

Definition at line 836 of file ParserNode.h.

Referenced by get_column_type().

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

Definition at line 837 of file ParserNode.h.

Referenced by get_compression().


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