pub async fn clear_tables( &self, table_names: Vec<String>, ) -> Result<ClearTablesResponse, KineticaError>
Delete tables
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.
table_names- 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 prevented by default via system configuration parameter disable_clear_all.
pub async fn clear_tables_with_opts( &self, table_names: Vec<String>, options: ClearTablesRequestOptions, ) -> Result<ClearTablesResponse, KineticaError>
Delete tables
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.
table_names- 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 prevented by default via system configuration parameter disable_clear_all.options- The optional parameters; any left unset take the server’s defaults.
pub async fn clear_tables_raw( &self, request: &ClearTablesRequest, ) -> Result<ClearTablesResponse, KineticaError>
Sends a pre-built ClearTablesRequest to the /clear/tables endpoint.
pub async fn clear_tables_from_url( &self, url: &str, request: &ClearTablesRequest, ) -> Result<ClearTablesResponse, KineticaError>
Sends a pre-built ClearTablesRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.