OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 2010 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 2012 of file ParserNode.h.

2012 : table(t), where_clause(w) {}
std::unique_ptr< Expr > where_clause
Definition: ParserNode.h:2020
std::unique_ptr< std::string > table
Definition: ParserNode.h:2019

Member Function Documentation

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

Implements Parser::DMLStmt.

Definition at line 1888 of file ParserNode.cpp.

1889  {
1890  throw std::runtime_error("DELETE statement not supported yet.");
1891 }
const std::string* Parser::DeleteStmt::get_table ( ) const
inline

Definition at line 2013 of file ParserNode.h.

References table.

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

Definition at line 2014 of file ParserNode.h.

References where_clause.

2014 { return where_clause.get(); }
std::unique_ptr< Expr > where_clause
Definition: ParserNode.h:2020

Member Data Documentation

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

Definition at line 2019 of file ParserNode.h.

Referenced by get_table().

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

Definition at line 2020 of file ParserNode.h.

Referenced by get_where_clause().


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