OmniSciDB  4201147b46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Parser::DeleteStmt Class Reference

#include <ParserNode.h>

+ Inheritance diagram for Parser::DeleteStmt:
+ Collaboration diagram for Parser::DeleteStmt:

Public Member Functions

 DeleteStmt (std::string *t, Expr *w)
 
const std::string * get_table () const
 
const Exprget_where_clause () const
 
void analyze (const Catalog_Namespace::Catalog &catalog, Analyzer::Query &query) const override
 
- Public Member Functions inherited from Parser::Node
virtual ~Node ()
 

Private Attributes

std::unique_ptr< std::string > table_
 
std::unique_ptr< Exprwhere_clause_
 

Detailed Description

Definition at line 2193 of file ParserNode.h.

Constructor & Destructor Documentation

Parser::DeleteStmt::DeleteStmt ( std::string *  t,
Expr w 
)
inline

Definition at line 2195 of file ParserNode.h.

2195 : table_(t), where_clause_(w) {}
std::unique_ptr< Expr > where_clause_
Definition: ParserNode.h:2203
std::unique_ptr< std::string > table_
Definition: ParserNode.h:2202

Member Function Documentation

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

Implements Parser::DMLStmt.

Definition at line 2720 of file ParserNode.cpp.

2721  {
2722  throw std::runtime_error("DELETE statement not supported yet.");
2723 }
const std::string* Parser::DeleteStmt::get_table ( ) const
inline

Definition at line 2196 of file ParserNode.h.

References table_.

2196 { return table_.get(); }
std::unique_ptr< std::string > table_
Definition: ParserNode.h:2202
const Expr* Parser::DeleteStmt::get_where_clause ( ) const
inline

Definition at line 2197 of file ParserNode.h.

References where_clause_.

2197 { return where_clause_.get(); }
std::unique_ptr< Expr > where_clause_
Definition: ParserNode.h:2203

Member Data Documentation

std::unique_ptr<std::string> Parser::DeleteStmt::table_
private

Definition at line 2202 of file ParserNode.h.

Referenced by get_table().

std::unique_ptr<Expr> Parser::DeleteStmt::where_clause_
private

Definition at line 2203 of file ParserNode.h.

Referenced by get_where_clause().


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