Class Parser::DumpRestoreTableStmtBase

class DumpRestoreTableStmtBase : public Parser::DDLStmt

Subclassed by Parser::DumpTableStmt, Parser::RestoreTableStmt

Public Types

enum CompressionType

Values:

kGZIP
kLZ4
kNONE

Public Functions

DumpRestoreTableStmtBase(std::string *tab, std::string *path, std::list<NameValueAssign *> *options, const bool is_restore)
DumpRestoreTableStmtBase(const rapidjson::Value &payload, const bool is_restore)
DumpRestoreTableStmtBase::CompressionType defaultCompression(bool is_restore)
DumpRestoreTableStmtBase::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

Protected Attributes

std::unique_ptr<std::string> table_
std::unique_ptr<std::string> path_
CompressionType compression_