OmniSciDB  d2f719934e
 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 2124 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 2126 of file ParserNode.h.

2126 : table_(t), where_clause_(w) {}
std::unique_ptr< Expr > where_clause_
Definition: ParserNode.h:2134
std::unique_ptr< std::string > table_
Definition: ParserNode.h:2133
char * t

Member Function Documentation

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

Implements Parser::DMLStmt.

Definition at line 2061 of file ParserNode.cpp.

2062  {
2063  throw std::runtime_error("DELETE statement not supported yet.");
2064 }
const std::string* Parser::DeleteStmt::get_table ( ) const
inline

Definition at line 2127 of file ParserNode.h.

References table_.

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

Definition at line 2128 of file ParserNode.h.

References where_clause_.

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

Member Data Documentation

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

Definition at line 2133 of file ParserNode.h.

Referenced by get_table().

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

Definition at line 2134 of file ParserNode.h.

Referenced by get_where_clause().


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