Source
pub async fn alter_datasource( &self, name: String, datasource_updates_map: HashMap<String, String>, ) -> Result<AlterDatasourceResponse, KineticaError>
Alter an existing data source
Alters the properties of an existing data source.
name- Name of the data source to be altered. Must be an existing data source.datasource_updates_map- Map containing the properties of the data source to be updated. Error if empty.
Source
pub async fn alter_datasource_with_opts( &self, name: String, datasource_updates_map: HashMap<String, String>, options: AlterDatasourceRequestOptions, ) -> Result<AlterDatasourceResponse, KineticaError>
Alter an existing data source
Alters the properties of an existing data source.
name- Name of the data source to be altered. Must be an existing data source.datasource_updates_map- Map containing the properties of the data source to be updated. Error if empty.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn alter_datasource_raw( &self, request: &AlterDatasourceRequest, ) -> Result<AlterDatasourceResponse, KineticaError>
Sends a pre-built AlterDatasourceRequest to the /alter/datasource endpoint.
Source
pub async fn alter_datasource_from_url( &self, url: &str, request: &AlterDatasourceRequest, ) -> Result<AlterDatasourceResponse, KineticaError>
Sends a pre-built AlterDatasourceRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.