OmniSciDB  a5dc49c757
 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 2191 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 2193 of file ParserNode.h.

2193 : table_(t), where_clause_(w) {}
std::unique_ptr< Expr > where_clause_
Definition: ParserNode.h:2201
std::unique_ptr< std::string > table_
Definition: ParserNode.h:2200

Member Function Documentation

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

Implements Parser::DMLStmt.

Definition at line 2778 of file ParserNode.cpp.

2779  {
2780  throw std::runtime_error("DELETE statement not supported yet.");
2781 }
const std::string* Parser::DeleteStmt::get_table ( ) const
inline

Definition at line 2194 of file ParserNode.h.

References table_.

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

Definition at line 2195 of file ParserNode.h.

References where_clause_.

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

Member Data Documentation

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

Definition at line 2200 of file ParserNode.h.

Referenced by get_table().

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

Definition at line 2201 of file ParserNode.h.

Referenced by get_where_clause().


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