Source
pub async fn alter_model( &self, model_name: String, action: String, value: String, ) -> Result<AlterModelResponse, KineticaError>
Alter an existing model.
For internal use only: Alter an imported model.
model_name- Model on which the operation should be applied.action- Operation to be applied.value- Action specific argument.
Source
pub async fn alter_model_with_opts( &self, model_name: String, action: String, value: String, options: AlterModelRequestOptions, ) -> Result<AlterModelResponse, KineticaError>
Alter an existing model.
For internal use only: Alter an imported model.
model_name- Model on which the operation should be applied.action- Operation to be applied.value- Action specific argument.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn alter_model_raw( &self, request: &AlterModelRequest, ) -> Result<AlterModelResponse, KineticaError>
Sends a pre-built AlterModelRequest to the /alter/model endpoint.
Source
pub async fn alter_model_from_url( &self, url: &str, request: &AlterModelRequest, ) -> Result<AlterModelResponse, KineticaError>
Sends a pre-built AlterModelRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.