All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.sdk.service.sql.QueriesService Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.sql;

import com.databricks.sdk.support.Generated;

/**
 * The queries API can be used to perform CRUD operations on queries. A query is a Databricks SQL
 * object that includes the target SQL warehouse, query text, name, description, tags, and
 * parameters. Queries can be scheduled using the `sql_task` type of the Jobs API, e.g.
 * :method:jobs/create.
 *
 * 

This is the high-level interface, that contains generated methods. * *

Evolving: this interface is under development. Method signatures may change. */ @Generated public interface QueriesService { /** * Create a query. * *

Creates a query. */ Query create(CreateQueryRequest createQueryRequest); /** * Delete a query. * *

Moves a query to the trash. Trashed queries immediately disappear from searches and list * views, and cannot be used for alerts. You can restore a trashed query through the UI. A trashed * query is permanently deleted after 30 days. */ void delete(TrashQueryRequest trashQueryRequest); /** * Get a query. * *

Gets a query. */ Query get(GetQueryRequest getQueryRequest); /** * List queries. * *

Gets a list of queries accessible to the user, ordered by creation time. **Warning:** * Calling this API concurrently 10 or more times could result in throttling, service degradation, * or a temporary ban. */ ListQueryObjectsResponse list(ListQueriesRequest listQueriesRequest); /** * List visualizations on a query. * *

Gets a list of visualizations on a query. */ ListVisualizationsForQueryResponse listVisualizations( ListVisualizationsForQueryRequest listVisualizationsForQueryRequest); /** * Update a query. * *

Updates a query. */ Query update(UpdateQueryRequest updateQueryRequest); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy