Package com.databricks.sdk.service.sql
Interface WarehousesService
-
@Generated public interface WarehousesService
A SQL warehouse is a compute resource that lets you run SQL commands on data objects within Databricks SQL. Compute resources are infrastructure resources that provide processing capabilities in the cloud.This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateWarehouseResponsecreate(CreateWarehouseRequest createWarehouseRequest)Create a warehouse.voiddelete(DeleteWarehouseRequest deleteWarehouseRequest)Delete a warehouse.voidedit(EditWarehouseRequest editWarehouseRequest)Update a warehouse.GetWarehouseResponseget(GetWarehouseRequest getWarehouseRequest)Get warehouse info.GetWorkspaceWarehouseConfigResponsegetWorkspaceWarehouseConfig()Get the workspace configuration.ListWarehousesResponselist(ListWarehousesRequest listWarehousesRequest)List warehouses.voidsetWorkspaceWarehouseConfig(SetWorkspaceWarehouseConfigRequest setWorkspaceWarehouseConfigRequest)Set the workspace configuration.voidstart(StartRequest startRequest)Start a warehouse.voidstop(StopRequest stopRequest)Stop a warehouse.
-
-
-
Method Detail
-
create
CreateWarehouseResponse create(CreateWarehouseRequest createWarehouseRequest)
Create a warehouse.Creates a new SQL warehouse.
-
delete
void delete(DeleteWarehouseRequest deleteWarehouseRequest)
Delete a warehouse.Deletes a SQL warehouse.
-
edit
void edit(EditWarehouseRequest editWarehouseRequest)
Update a warehouse.Updates the configuration for a SQL warehouse.
-
get
GetWarehouseResponse get(GetWarehouseRequest getWarehouseRequest)
Get warehouse info.Gets the information for a single SQL warehouse.
-
getWorkspaceWarehouseConfig
GetWorkspaceWarehouseConfigResponse getWorkspaceWarehouseConfig()
Get the workspace configuration.Gets the workspace level configuration that is shared by all SQL warehouses in a workspace.
-
list
ListWarehousesResponse list(ListWarehousesRequest listWarehousesRequest)
List warehouses.Lists all SQL warehouses that a user has manager permissions on.
-
setWorkspaceWarehouseConfig
void setWorkspaceWarehouseConfig(SetWorkspaceWarehouseConfigRequest setWorkspaceWarehouseConfigRequest)
Set the workspace configuration.Sets the workspace level configuration that is shared by all SQL warehouses in a workspace.
-
start
void start(StartRequest startRequest)
Start a warehouse.Starts a SQL warehouse.
-
stop
void stop(StopRequest stopRequest)
Stop a warehouse.Stops a SQL warehouse.
-
-