Source
pub async fn drop_schema( &self, schema_name: String, ) -> Result<DropSchemaResponse, KineticaError>
Drop an existing SQL-style schema.
Drops an existing SQL-style schema, specified in schema_name.
schema_name- Name of the schema to be dropped. Must be an existing schema.
Source
pub async fn drop_schema_with_opts( &self, schema_name: String, options: DropSchemaRequestOptions, ) -> Result<DropSchemaResponse, KineticaError>
Drop an existing SQL-style schema.
Drops an existing SQL-style schema, specified in schema_name.
schema_name- Name of the schema to be dropped. Must be an existing schema.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn drop_schema_raw( &self, request: &DropSchemaRequest, ) -> Result<DropSchemaResponse, KineticaError>
Sends a pre-built DropSchemaRequest to the /drop/schema endpoint.
Source
pub async fn drop_schema_from_url( &self, url: &str, request: &DropSchemaRequest, ) -> Result<DropSchemaResponse, KineticaError>
Sends a pre-built DropSchemaRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.