| Package | Description |
|---|---|
| com.databricks.sdk.service.compute |
| Modifier and Type | Method and Description |
|---|---|
Wait<ClusterDetails,CreateClusterResponse> |
ClustersAPI.create(CreateCluster request)
Creates a new Spark cluster.
|
Wait<ClusterDetails,CreateClusterResponse> |
ClustersAPI.create(String sparkVersion) |
Wait<ClusterDetails,Void> |
ClustersAPI.delete(DeleteCluster request)
Terminates the Spark cluster with the specified ID.
|
Wait<ClusterDetails,Void> |
ClustersAPI.delete(String clusterId) |
Wait<ClusterDetails,Void> |
ClustersAPI.edit(EditCluster request)
Updates the configuration of a cluster to match the provided attributes and size.
|
Wait<ClusterDetails,Void> |
ClustersAPI.edit(String clusterId,
String sparkVersion) |
Collection<ClusterDetails> |
ListClustersResponse.getClusters() |
Iterable<ClusterDetails> |
ClustersAPI.list(ListClustersRequest request)
Return information about all pinned and active clusters, and all clusters terminated within the
last 30 days.
|
Wait<ClusterDetails,Void> |
ClustersAPI.resize(ResizeCluster request)
Resizes a cluster to have a desired number of workers.
|
Wait<ClusterDetails,Void> |
ClustersAPI.resize(String clusterId) |
Wait<ClusterDetails,Void> |
ClustersAPI.restart(RestartCluster request)
Restarts a Spark cluster with the supplied ID.
|
Wait<ClusterDetails,Void> |
ClustersAPI.restart(String clusterId) |
Wait<ClusterDetails,Void> |
ClustersAPI.start(StartCluster request)
Starts a terminated Spark cluster with the supplied ID.
|
Wait<ClusterDetails,Void> |
ClustersAPI.start(String clusterId) |
Wait<ClusterDetails,Void> |
ClustersAPI.update(String clusterId,
String updateMask) |
Wait<ClusterDetails,Void> |
ClustersAPI.update(UpdateCluster request)
Updates the configuration of a cluster to match the partial set of attributes and size.
|
| Modifier and Type | Method and Description |
|---|---|
ListClustersResponse |
ListClustersResponse.setClusters(Collection<ClusterDetails> clusters) |
ClusterDetails |
ClustersAPI.waitGetClusterRunning(String clusterId,
Duration timeout,
Consumer<ClusterDetails> callback) |
ClusterDetails |
ClustersAPI.waitGetClusterTerminated(String clusterId,
Duration timeout,
Consumer<ClusterDetails> callback) |
Copyright © 2025. All rights reserved.