@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)
FunctionInfo update(UpdateFunction updateFunction)
Copyright © 2025. All rights reserved.