Source
pub async fn has_schema( &self, schema_name: String, ) -> Result<HasSchemaResponse, KineticaError>
Check for the existence of specified schema
Checks for the existence of a schema with the given name.
schema_name- Name of the schema to check for existence, in root, using standard name resolution rules.
Source
pub async fn has_schema_with_opts( &self, schema_name: String, options: HasSchemaRequestOptions, ) -> Result<HasSchemaResponse, KineticaError>
Check for the existence of specified schema
Checks for the existence of a schema with the given name.
schema_name- Name of the schema to check for existence, in root, using standard name resolution rules.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn has_schema_raw( &self, request: &HasSchemaRequest, ) -> Result<HasSchemaResponse, KineticaError>
Sends a pre-built HasSchemaRequest to the /has/schema endpoint.
Source
pub async fn has_schema_from_url( &self, url: &str, request: &HasSchemaRequest, ) -> Result<HasSchemaResponse, KineticaError>
Sends a pre-built HasSchemaRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.