Source
pub async fn has_type( &self, type_id: String, ) -> Result<HasTypeResponse, KineticaError>
Check for the existence of specified type
Check for the existence of a type.
type_id- Id of the type returned in response to/create/typerequest.
Source
pub async fn has_type_with_opts( &self, type_id: String, options: HasTypeRequestOptions, ) -> Result<HasTypeResponse, KineticaError>
Check for the existence of specified type
Check for the existence of a type.
type_id- Id of the type returned in response to/create/typerequest.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn has_type_raw( &self, request: &HasTypeRequest, ) -> Result<HasTypeResponse, KineticaError>
Sends a pre-built HasTypeRequest to the /has/type endpoint.
Source
pub async fn has_type_from_url( &self, url: &str, request: &HasTypeRequest, ) -> Result<HasTypeResponse, KineticaError>
Sends a pre-built HasTypeRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.