Source
pub async fn alter_schema( &self, schema_name: String, action: String, value: String, ) -> Result<AlterSchemaResponse, KineticaError>
Alter a SQL-style schema.
Used to change the name of a SQL-style schema, specified in schema_name.
schema_name- Name of the schema to be altered.action- Modification operation to be applied.value- The value of the modification, depending onaction. For now the only value ofactionis rename_schema. In this case the value is the new name of the schema.
Source
pub async fn alter_schema_with_opts( &self, schema_name: String, action: String, value: String, options: AlterSchemaRequestOptions, ) -> Result<AlterSchemaResponse, KineticaError>
Alter a SQL-style schema.
Used to change the name of a SQL-style schema, specified in schema_name.
schema_name- Name of the schema to be altered.action- Modification operation to be applied.value- The value of the modification, depending onaction. For now the only value ofactionis rename_schema. In this case the value is the new name of the schema.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn alter_schema_raw( &self, request: &AlterSchemaRequest, ) -> Result<AlterSchemaResponse, KineticaError>
Sends a pre-built AlterSchemaRequest to the /alter/schema endpoint.
Source
pub async fn alter_schema_from_url( &self, url: &str, request: &AlterSchemaRequest, ) -> Result<AlterSchemaResponse, KineticaError>
Sends a pre-built AlterSchemaRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.