◆ clearTable() [1/4]
| ClearTableResponse gpudb::GPUdb::clearTable | ( | const ClearTableRequest & | request_ | ) | const |
Clears (drops) one or all tables in the database cluster.
The operation is synchronous meaning that the table will be cleared before the function returns. The response payload returns the status of the operation along with the name of the table that was cleared.
| [in] | request_ | Request object containing the parameters for the operation. |
◆ clearTable() [2/4]
| ClearTableResponse & gpudb::GPUdb::clearTable | ( | const ClearTableRequest & | request_, |
| ClearTableResponse & | response_ ) const |
Clears (drops) one or all tables in the database cluster.
The operation is synchronous meaning that the table will be cleared before the function returns. The response payload returns the status of the operation along with the name of the table that was cleared.
◆ clearTable() [3/4]
| ClearTableResponse gpudb::GPUdb::clearTable | ( | const std::string & | tableName, |
| const std::string & | authorization, | ||
| const std::map< std::string, std::string > & | options ) const |
Clears (drops) one or all tables in the database cluster.
The operation is synchronous meaning that the table will be cleared before the function returns. The response payload returns the status of the operation along with the name of the table that was cleared.
| [in] | tableName | Name of the table to be cleared, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table. Empty string clears all available tables, though this behavior is be prevented by default via gpudb.conf parameter ‘disable_clear_all’. The default value is ”. |
| [in] | authorization | No longer used. User can pass an empty string. The default value is ”. |
| [in] | options | Optional parameters.
|
◆ clearTable() [4/4]
| ClearTableResponse & gpudb::GPUdb::clearTable | ( | const std::string & | tableName, |
| const std::string & | authorization, | ||
| const std::map< std::string, std::string > & | options, | ||
| ClearTableResponse & | response_ ) const |
Clears (drops) one or all tables in the database cluster.
The operation is synchronous meaning that the table will be cleared before the function returns. The response payload returns the status of the operation along with the name of the table that was cleared.
| [in] | tableName | Name of the table to be cleared, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table. Empty string clears all available tables, though this behavior is be prevented by default via gpudb.conf parameter ‘disable_clear_all’. The default value is ”. |
| [in] | authorization | No longer used. User can pass an empty string. The default value is ”. |
| [in] | options | Optional parameters.
|
| [out] | response_ | Response object containing the results of the operation. |