OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Parser::InsertQueryStmt Class Reference

#include <ParserNode.h>

+ Inheritance diagram for Parser::InsertQueryStmt:
+ Collaboration diagram for Parser::InsertQueryStmt:

Public Member Functions

 InsertQueryStmt (std::string *t, std::list< std::string * > *c, QuerySpec *q)
 
const QuerySpecget_query () const
 
void analyze (const Catalog_Namespace::Catalog &catalog, Analyzer::Query &query) const override
 
- Public Member Functions inherited from Parser::InsertStmt
 InsertStmt (std::string *t, std::list< std::string * > *c)
 
const std::string * get_table () const
 
const std::list
< std::unique_ptr< std::string > > & 
get_column_list () const
 
- Public Member Functions inherited from Parser::Node
virtual ~Node ()
 

Private Attributes

std::unique_ptr< QuerySpecquery
 

Additional Inherited Members

- Protected Attributes inherited from Parser::InsertStmt
std::unique_ptr< std::string > table
 
std::list< std::unique_ptr
< std::string > > 
column_list
 

Detailed Description

Definition at line 1951 of file ParserNode.h.

Constructor & Destructor Documentation

Parser::InsertQueryStmt::InsertQueryStmt ( std::string *  t,
std::list< std::string * > *  c,
QuerySpec q 
)
inline

Definition at line 1953 of file ParserNode.h.

1954  : InsertStmt(t, c), query(q) {}
std::unique_ptr< QuerySpec > query
Definition: ParserNode.h:1960
InsertStmt(std::string *t, std::list< std::string * > *c)
Definition: ParserNode.h:1903

Member Function Documentation

void Parser::InsertQueryStmt::analyze ( const Catalog_Namespace::Catalog catalog,
Analyzer::Query query 
) const
overridevirtual

Implements Parser::InsertStmt.

Definition at line 1877 of file ParserNode.cpp.

1878  {
1879  InsertStmt::analyze(catalog, insert_query);
1880  query->analyze(catalog, insert_query);
1881 }
void analyze(const Catalog_Namespace::Catalog &catalog, Analyzer::Query &query) const override=0
const QuerySpec* Parser::InsertQueryStmt::get_query ( ) const
inline

Definition at line 1955 of file ParserNode.h.

References query.

1955 { return query.get(); }
std::unique_ptr< QuerySpec > query
Definition: ParserNode.h:1960

Member Data Documentation

std::unique_ptr<QuerySpec> Parser::InsertQueryStmt::query
private

Definition at line 1960 of file ParserNode.h.

Referenced by get_query().


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