GPUdb C++ API
Version 7.2.3.0
|
A set of parameters for GPUdb::clearTables. More...
#include <gpudb/protocol/clear_tables.h>
Public Member Functions | |
ClearTablesRequest () | |
Constructs a ClearTablesRequest object with default parameters. More... | |
ClearTablesRequest (const std::vector< std::string > &tableNames_, const std::map< std::string, std::string > &options_) | |
Constructs a ClearTablesRequest object with the specified parameters. More... | |
Public Attributes | |
std::vector< std::string > | tableNames |
Names of the tables to be cleared, in [ schema_name. ]table_name format, using standard name resolution rules. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::clearTables.
Clears (drops) tables in the database cluster. The operation is synchronous meaning that the tables will be cleared before the function returns. The response payload returns the status of the operation for each table requested.
Definition at line 21 of file clear_tables.h.
|
inline |
Constructs a ClearTablesRequest object with default parameters.
Definition at line 26 of file clear_tables.h.
|
inline |
Constructs a ClearTablesRequest object with the specified parameters.
[in] | tableNames_ | Names of the tables to be cleared, in [schema_name.]table_name format, using standard name resolution rules. Must be existing tables. Empty list clears all available tables, though this behavior is be prevented by default via gpudb.conf parameter 'disable_clear_all'. The default value is an empty vector. |
[in] | options_ | Optional parameters.
|
Definition at line 72 of file clear_tables.h.
std::map<std::string, std::string> gpudb::ClearTablesRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 108 of file clear_tables.h.
std::vector<std::string> gpudb::ClearTablesRequest::tableNames |
Names of the tables to be cleared, in [ schema_name. ]table_name format, using standard name resolution rules.
Must be existing tables. Empty list clears all available tables, though this behavior is be prevented by default via gpudb.conf parameter 'disable_clear_all'. The default value is an empty vector.
Definition at line 87 of file clear_tables.h.