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