OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
DumpTableStmt (const rapidjson::Value &payload) | |
void | execute (const Catalog_Namespace::SessionInfo &session, bool read_only_mode) override |
Public Member Functions inherited from Parser::DumpRestoreTableStmtBase | |
DumpRestoreTableStmtBase (const rapidjson::Value &payload, const bool is_restore) | |
CompressionType | defaultCompression (bool is_restore) |
CompressionType | validateCompression (const std::string &compression, const bool is_restore) |
std::string | tarCompressionStr (CompressionType compression, const bool is_restore) |
const std::string * | getTable () const |
const std::string * | getPath () const |
const CompressionType | getCompression () const |
Public Member Functions inherited from Parser::DDLStmt | |
void | setColumnDescriptor (ColumnDescriptor &cd, const ColumnDef *coldef) |
Public Member Functions inherited from Parser::Node | |
virtual | ~Node () |
Additional Inherited Members | |
Public Types inherited from Parser::DumpRestoreTableStmtBase | |
enum | CompressionType { CompressionType::kGZIP, CompressionType::kLZ4, CompressionType::kNONE } |
Protected Attributes inherited from Parser::DumpRestoreTableStmtBase | |
std::unique_ptr< std::string > | table_ |
std::unique_ptr< std::string > | path_ |
CompressionType | compression_ |
TableArchiverS3Options | s3_options_ |
Definition at line 1438 of file ParserNode.h.
Parser::DumpTableStmt::DumpTableStmt | ( | const rapidjson::Value & | payload | ) |
Definition at line 7208 of file ParserNode.cpp.
|
overridevirtual |
Implements Parser::DDLStmt.
Definition at line 7211 of file ParserNode.cpp.
References Catalog_Namespace::SessionInfo::checkDBAccessPrivileges(), Parser::DumpRestoreTableStmtBase::compression_, AccessPrivileges::CREATE_TABLE, TableArchiver::dumpTable(), Catalog_Namespace::SessionInfo::getCatalog(), legacylockmgr::getExecuteReadLock(), lockmgr::TableLockMgrImpl< TableSchemaLockMgr >::getReadLockForTable(), Parser::DumpRestoreTableStmtBase::path_, AccessPrivileges::SELECT_FROM_TABLE, Parser::DumpRestoreTableStmtBase::table_, TableDBObjectType, and Parser::DumpRestoreTableStmtBase::tarCompressionStr().
Referenced by heavydb.cursor.Cursor::executemany().