Source
pub async fn drop_catalog( &self, name: String, ) -> Result<DropCatalogResponse, KineticaError>
Drop an existing catalog
Drops an existing catalog. Any external tables that depend on the catalog must be dropped before it can be dropped.
name- Name of the catalog to be dropped. Must be an existing catalog.
Source
pub async fn drop_catalog_with_opts( &self, name: String, options: DropCatalogRequestOptions, ) -> Result<DropCatalogResponse, KineticaError>
Drop an existing catalog
Drops an existing catalog. Any external tables that depend on the catalog must be dropped before it can be dropped.
name- Name of the catalog to be dropped. Must be an existing catalog.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn drop_catalog_raw( &self, request: &DropCatalogRequest, ) -> Result<DropCatalogResponse, KineticaError>
Sends a pre-built DropCatalogRequest to the /drop/catalog endpoint.
Source
pub async fn drop_catalog_from_url( &self, url: &str, request: &DropCatalogRequest, ) -> Result<DropCatalogResponse, KineticaError>
Sends a pre-built DropCatalogRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.