Package com.datadog.api.client.v2.api
Class DdsqlApi
java.lang.Object
com.datadog.api.client.v2.api.DdsqlApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DdsqlApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecute a tabular DDSQL query.Execute a tabular DDSQL query.Submit a DDSQL statement and return either arunningstate with an opaquequery_idfor the client to poll, or acompletedstate with the column-major result set inlined when the query finishes quickly enough to be served synchronously.Execute a tabular DDSQL query.Fetch the result of a DDSQL query.Fetch the result of a DDSQL query.Poll a previously submitted DDSQL query for results.Fetch the result of a DDSQL query.Get the API client.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
DdsqlApi
public DdsqlApi() -
DdsqlApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
executeDdsqlTabularQuery
public DdsqlTabularQueryResponse executeDdsqlTabularQuery(DdsqlTabularQueryRequest body) throws ApiException Execute a tabular DDSQL query.See
executeDdsqlTabularQueryWithHttpInfo(com.datadog.api.client.v2.model.DdsqlTabularQueryRequest).- Parameters:
body- (required)- Returns:
- DdsqlTabularQueryResponse
- Throws:
ApiException- if fails to make API call
-
executeDdsqlTabularQueryAsync
public CompletableFuture<DdsqlTabularQueryResponse> executeDdsqlTabularQueryAsync(DdsqlTabularQueryRequest body) Execute a tabular DDSQL query.See
executeDdsqlTabularQueryWithHttpInfoAsync(com.datadog.api.client.v2.model.DdsqlTabularQueryRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<DdsqlTabularQueryResponse>
-
executeDdsqlTabularQueryWithHttpInfo
public ApiResponse<DdsqlTabularQueryResponse> executeDdsqlTabularQueryWithHttpInfo(DdsqlTabularQueryRequest body) throws ApiException Submit a DDSQL statement and return either arunningstate with an opaquequery_idfor the client to poll, or acompletedstate with the column-major result set inlined when the query finishes quickly enough to be served synchronously.- Parameters:
body- (required)- Returns:
- ApiResponse<DdsqlTabularQueryResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 429 Too many requests - 500 Internal Server Error -
-
executeDdsqlTabularQueryWithHttpInfoAsync
public CompletableFuture<ApiResponse<DdsqlTabularQueryResponse>> executeDdsqlTabularQueryWithHttpInfoAsync(DdsqlTabularQueryRequest body) Execute a tabular DDSQL query.See
executeDdsqlTabularQueryWithHttpInfo(com.datadog.api.client.v2.model.DdsqlTabularQueryRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<DdsqlTabularQueryResponse>>
-
fetchDdsqlTabularQuery
public DdsqlTabularQueryResponse fetchDdsqlTabularQuery(DdsqlTabularQueryFetchRequest body) throws ApiException Fetch the result of a DDSQL query.See
fetchDdsqlTabularQueryWithHttpInfo(com.datadog.api.client.v2.model.DdsqlTabularQueryFetchRequest).- Parameters:
body- (required)- Returns:
- DdsqlTabularQueryResponse
- Throws:
ApiException- if fails to make API call
-
fetchDdsqlTabularQueryAsync
public CompletableFuture<DdsqlTabularQueryResponse> fetchDdsqlTabularQueryAsync(DdsqlTabularQueryFetchRequest body) Fetch the result of a DDSQL query.- Parameters:
body- (required)- Returns:
- CompletableFuture<DdsqlTabularQueryResponse>
-
fetchDdsqlTabularQueryWithHttpInfo
public ApiResponse<DdsqlTabularQueryResponse> fetchDdsqlTabularQueryWithHttpInfo(DdsqlTabularQueryFetchRequest body) throws ApiException Poll a previously submitted DDSQL query for results. Pass the opaquequery_idreturned by a priorExecuteDdsqlTabularQuery(or by a priorFetchDdsqlTabularQuerythat returnedstate: running) and the server returns either arunningstate to poll again or acompletedstate with the column-major result set inlined.- Parameters:
body- (required)- Returns:
- ApiResponse<DdsqlTabularQueryResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 429 Too many requests - 500 Internal Server Error -
-
fetchDdsqlTabularQueryWithHttpInfoAsync
public CompletableFuture<ApiResponse<DdsqlTabularQueryResponse>> fetchDdsqlTabularQueryWithHttpInfoAsync(DdsqlTabularQueryFetchRequest body) Fetch the result of a DDSQL query.See
fetchDdsqlTabularQueryWithHttpInfo(com.datadog.api.client.v2.model.DdsqlTabularQueryFetchRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<DdsqlTabularQueryResponse>>
-