Skip to content

unitycatalog.search

The classes of the search API.

Classes

Name Description
SearchObjectsResponse  
SearchResult A catalog, schema, table, volume, function or registered model whose name or comment holds the words of a search.

class unitycatalog.search.SearchObjectsResponse

Attributes

  • next_page_token (str | None) – Opaque token of the next page. Absent on the last page.
  • results (list[SearchResult]) – The results: first the names equal to the query, then the names that start with it, the names that hold it, and the objects whose comment holds its words. Only the objects that the caller may read.

class unitycatalog.search.SearchResult

A catalog, schema, table, volume, function or registered model whose name or comment holds the words of a search.

Attributes

  • catalog_name (str) – Name of the catalog of the object, or of the catalog itself.
  • comment (str | None) – User-provided free-form text description.
  • created_at (int) – Time at which the object was created, in epoch milliseconds.
  • full_name (str) – Full name of the object: <catalog>, <catalog>.<schema> or <catalog>.<schema>.<name>.
  • id (str) – Unique identifier of the object.
  • name (str) – Name of the object, relative to its parent.
  • owner (str | None) – Username of the owner of the object.
  • schema_name (str | None) – Name of the schema of the object, or of the schema itself. Absent for a catalog.
  • securable_type (str) – Type of the object: catalog, schema, table, volume, function or registered_model.
  • updated_at (int) – Time at which the object was last changed, in epoch milliseconds.