OmniSciDB  e465130ba1
 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 > > 

Detailed Description

Definition at line 1972 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 1974 of file ParserNode.h.

1975  : InsertStmt(t, c), query(q) {}
std::unique_ptr< QuerySpec > query
Definition: ParserNode.h:1981
InsertStmt(std::string *t, std::list< std::string * > *c)
Definition: ParserNode.h:1924

Member Function Documentation

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

Implements Parser::InsertStmt.

Definition at line 1903 of file ParserNode.cpp.

1904  {
1905  InsertStmt::analyze(catalog, insert_query);
1906  query->analyze(catalog, insert_query);
1907 }
void analyze(const Catalog_Namespace::Catalog &catalog, Analyzer::Query &query) const override=0
const QuerySpec* Parser::InsertQueryStmt::get_query ( ) const

Definition at line 1976 of file ParserNode.h.

References query.

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

Member Data Documentation

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

Definition at line 1981 of file ParserNode.h.

Referenced by get_query().

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