OmniSciDB  04ee39c94c
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 1850 of file ParserNode.h.

Constructor & Destructor Documentation

◆ InsertQueryStmt()

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

Definition at line 1852 of file ParserNode.h.

1853  : InsertStmt(t, c), query(q) {}
std::unique_ptr< QuerySpec > query
Definition: ParserNode.h:1859
void c(const std::string &query_string, const ExecutorDeviceType device_type)
InsertStmt(std::string *t, std::list< std::string *> *c)
Definition: ParserNode.h:1802

Member Function Documentation

◆ analyze()

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

Implements Parser::InsertStmt.

Definition at line 1862 of file ParserNode.cpp.

References anonymous_namespace{UpdateMetadataTest.cpp}::query.

1863  {
1864  InsertStmt::analyze(catalog, insert_query);
1865  query->analyze(catalog, insert_query);
1866 }
void analyze(const Catalog_Namespace::Catalog &catalog, Analyzer::Query &query) const override=0

◆ get_query()

const QuerySpec* Parser::InsertQueryStmt::get_query ( ) const
inline

Definition at line 1854 of file ParserNode.h.

References anonymous_namespace{UpdateMetadataTest.cpp}::query.

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

Member Data Documentation

◆ query

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

Definition at line 1859 of file ParserNode.h.


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