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

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.

Sends a pre-built HasSchemaRequest to the /has/schema endpoint.

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