◆ clearTables() [1/4]
| ClearTablesResponse gpudb::GPUdb::clearTables | ( | const ClearTablesRequest & | request_ | ) | const |
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.
| [in] | request_ | Request object containing the parameters for the operation. |
◆ clearTables() [2/4]
| ClearTablesResponse & gpudb::GPUdb::clearTables | ( | const ClearTablesRequest & | request_, |
| ClearTablesResponse & | response_ ) const |
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.
◆ clearTables() [3/4]
| ClearTablesResponse gpudb::GPUdb::clearTables | ( | const std::vector< std::string > & | tableNames, |
| const std::map< std::string, std::string > & | options ) const |
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.
| [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.
|
◆ clearTables() [4/4]
| ClearTablesResponse & gpudb::GPUdb::clearTables | ( | const std::vector< std::string > & | tableNames, |
| const std::map< std::string, std::string > & | options, | ||
| ClearTablesResponse & | response_ ) const |
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.
| [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.
|
| [out] | response_ | Response object containing the results of the operation. |