OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
ValidateStmt (std::string *type, std::list< NameValueAssign * > *with_opts) | |
ValidateStmt (const rapidjson::Value &payload) | |
bool | isRepairTypeRemove () const |
const std::string | getType () const |
void | execute (const Catalog_Namespace::SessionInfo &session, bool read_only_mode) override |
Public Member Functions inherited from Parser::DDLStmt | |
void | setColumnDescriptor (ColumnDescriptor &cd, const ColumnDef *coldef) |
Public Member Functions inherited from Parser::Node | |
virtual | ~Node () |
Private Attributes | |
std::unique_ptr< std::string > | type_ |
bool | isRepairTypeRemove_ = false |
Definition at line 1273 of file ParserNode.h.
Parser::ValidateStmt::ValidateStmt | ( | std::string * | type, |
std::list< NameValueAssign * > * | with_opts | ||
) |
Definition at line 5071 of file ParserNode.cpp.
References isRepairTypeRemove_, and Parser::repair_type().
Parser::ValidateStmt::ValidateStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 5087 of file ParserNode.cpp.
References CHECK, isRepairTypeRemove_, json_str(), Parser::anonymous_namespace{ParserNode.cpp}::parse_options(), Parser::repair_type(), and type_.
|
inlineoverridevirtual |
Implements Parser::DDLStmt.
Definition at line 1282 of file ParserNode.h.
References UNREACHABLE.
Referenced by heavydb.cursor.Cursor::executemany().
|
inline |
|
inline |
|
private |
Definition at line 1289 of file ParserNode.h.
Referenced by isRepairTypeRemove(), and ValidateStmt().
|
private |
Definition at line 1288 of file ParserNode.h.
Referenced by getType(), and ValidateStmt().