Skip to main content
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.

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.

Sends a pre-built AlterDatasourceRequest to the /alter/datasource endpoint.

Sends a pre-built AlterDatasourceRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.