@Generated public interface FunctionsService
The function implementation can be any SQL expression or Query, and it can be invoked wherever a table reference is allowed in a query. In Unity Catalog, a function resides at the same level as a table, so it can be referenced with the form __catalog_name__.__schema_name__.__function_name__.
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
| Modifier and Type | Method and Description |
|---|---|
FunctionInfo |
create(CreateFunctionRequest createFunctionRequest)
**WARNING: This API is experimental and will change in future versions**
|
void |
delete(DeleteFunctionRequest deleteFunctionRequest)
Deletes the function that matches the supplied name.
|
FunctionInfo |
get(GetFunctionRequest getFunctionRequest)
Gets a function from within a parent catalog and schema.
|
ListFunctionsResponse |
list(ListFunctionsRequest listFunctionsRequest)
List functions within the specified parent catalog and schema.
|
FunctionInfo |
update(UpdateFunction updateFunction)
Updates the function that matches the supplied name.
|
FunctionInfo create(CreateFunctionRequest createFunctionRequest)
Creates a new function
The user must have the following permissions in order for the function to be created: - **USE_CATALOG** on the function's parent catalog - **USE_SCHEMA** and **CREATE_FUNCTION** on the function's parent schema
void delete(DeleteFunctionRequest deleteFunctionRequest)
FunctionInfo get(GetFunctionRequest getFunctionRequest)
ListFunctionsResponse list(ListFunctionsRequest listFunctionsRequest)
NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated calls will be deprecated soon.
PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero results while still providing a next_page_token. Clients must continue reading pages until next_page_token is absent, which is the only indication that the end of results has been reached.
FunctionInfo update(UpdateFunction updateFunction)
Copyright © 2026. All rights reserved.