@Generated public class DataSourcesAPI extends Object
This API does not support searches. It returns the full list of SQL warehouses in your workspace. We advise you to use any text editor, REST client, or `grep` to search the response from this API for the name of your SQL warehouse as it appears in Databricks SQL.
Constructor and Description |
---|
DataSourcesAPI(ApiClient apiClient)
Regular-use constructor
|
DataSourcesAPI(DataSourcesService mock)
Constructor for mocks
|
Modifier and Type | Method and Description |
---|---|
DataSourcesService |
impl() |
Iterable<DataSource> |
list()
Get a list of SQL warehouses.
|
public DataSourcesAPI(ApiClient apiClient)
public DataSourcesAPI(DataSourcesService mock)
public Iterable<DataSource> list()
Retrieves a full list of SQL warehouses available in this workspace. All fields that appear in this API response are enumerated for clarity. However, you need only a SQL warehouse's `id` to create new queries against it.
public DataSourcesService impl()
Copyright © 2024. All rights reserved.