public class ImpalaQueriesResourceApi extends Object
Constructor and Description |
---|
ImpalaQueriesResourceApi() |
ImpalaQueriesResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiImpalaCancelResponse |
cancelImpalaQuery(String clusterName,
String queryId,
String serviceName)
Cancels an Impala Query.
|
com.squareup.okhttp.Call |
cancelImpalaQueryAsync(String clusterName,
String queryId,
String serviceName,
ApiCallback<ApiImpalaCancelResponse> callback)
Cancels an Impala Query.
|
com.squareup.okhttp.Call |
cancelImpalaQueryCall(String clusterName,
String queryId,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for cancelImpalaQuery
|
ApiResponse<ApiImpalaCancelResponse> |
cancelImpalaQueryWithHttpInfo(String clusterName,
String queryId,
String serviceName)
Cancels an Impala Query.
|
ApiClient |
getApiClient() |
ApiImpalaQueryResponse |
getImpalaQueries(String clusterName,
String serviceName,
String filter,
String from,
Integer limit,
Integer offset,
String to)
Returns a list of queries that satisfy the filter.
|
com.squareup.okhttp.Call |
getImpalaQueriesAsync(String clusterName,
String serviceName,
String filter,
String from,
Integer limit,
Integer offset,
String to,
ApiCallback<ApiImpalaQueryResponse> callback)
Returns a list of queries that satisfy the filter.
|
com.squareup.okhttp.Call |
getImpalaQueriesCall(String clusterName,
String serviceName,
String filter,
String from,
Integer limit,
Integer offset,
String to,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getImpalaQueries
|
ApiResponse<ApiImpalaQueryResponse> |
getImpalaQueriesWithHttpInfo(String clusterName,
String serviceName,
String filter,
String from,
Integer limit,
Integer offset,
String to)
Returns a list of queries that satisfy the filter.
|
ApiImpalaQueryAttributeList |
getImpalaQueryAttributes(String clusterName,
String serviceName)
Returns the list of all attributes that the Service Monitor can associate with Impala queries.
|
com.squareup.okhttp.Call |
getImpalaQueryAttributesAsync(String clusterName,
String serviceName,
ApiCallback<ApiImpalaQueryAttributeList> callback)
Returns the list of all attributes that the Service Monitor can associate with Impala queries.
|
com.squareup.okhttp.Call |
getImpalaQueryAttributesCall(String clusterName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getImpalaQueryAttributes
|
ApiResponse<ApiImpalaQueryAttributeList> |
getImpalaQueryAttributesWithHttpInfo(String clusterName,
String serviceName)
Returns the list of all attributes that the Service Monitor can associate with Impala queries.
|
ApiImpalaQueryDetailsResponse |
getQueryDetails(String clusterName,
String queryId,
String serviceName,
String format)
Returns details about the query.
|
com.squareup.okhttp.Call |
getQueryDetailsAsync(String clusterName,
String queryId,
String serviceName,
String format,
ApiCallback<ApiImpalaQueryDetailsResponse> callback)
Returns details about the query.
|
com.squareup.okhttp.Call |
getQueryDetailsCall(String clusterName,
String queryId,
String serviceName,
String format,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getQueryDetails
|
ApiResponse<ApiImpalaQueryDetailsResponse> |
getQueryDetailsWithHttpInfo(String clusterName,
String queryId,
String serviceName,
String format)
Returns details about the query.
|
void |
setApiClient(ApiClient apiClient) |
public ImpalaQueriesResourceApi()
public ImpalaQueriesResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call cancelImpalaQueryCall(String clusterName, String queryId, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)queryId
- The queryId to cancel (required)serviceName
- The name of the service (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiImpalaCancelResponse cancelImpalaQuery(String clusterName, String queryId, String serviceName) throws ApiException
clusterName
- (required)queryId
- The queryId to cancel (required)serviceName
- The name of the service (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiImpalaCancelResponse> cancelImpalaQueryWithHttpInfo(String clusterName, String queryId, String serviceName) throws ApiException
clusterName
- (required)queryId
- The queryId to cancel (required)serviceName
- The name of the service (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call cancelImpalaQueryAsync(String clusterName, String queryId, String serviceName, ApiCallback<ApiImpalaCancelResponse> callback) throws ApiException
clusterName
- (required)queryId
- The queryId to cancel (required)serviceName
- The name of the service (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getImpalaQueriesCall(String clusterName, String serviceName, String filter, String from, Integer limit, Integer offset, String to, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- The name of the service (required)filter
- A filter to apply to the queries. A basic filter tests the value of an attribute and looks something like 'rowsFetched = 1' or 'user = root'. Multiple basic filters can be combined into a complex expression using standard and / or boolean logic and parenthesis. An example of a complex filter is: 'query_duration > 5s and (user = root or user = myUserName)'. An example of expected full query string in requested URL is: '?filter=(query_duration > 5s and (user = root or user = myUserName))'. (optional, default to )from
- Start of the period to query in ISO 8601 format (defaults to 5 minutes before the 'to' time). (optional)limit
- The maximum number of queries to return. Queries will be returned in the following order: <ul> <li> All executing queries, ordered from longest to shortest running </li> <li> All completed queries order by end time descending. </li> </ul> (optional, default to 100)offset
- The offset to start returning queries from. This is useful for paging through lists of queries. Note that this has non-deterministic behavior if executing queries are included in the response because they can disappear from the list while paging. To exclude executing queries from the response and a 'executing = false' clause to your filter. (optional, default to 0)to
- End of the period to query in ISO 8601 format (defaults to current time). (optional, default to now)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiImpalaQueryResponse getImpalaQueries(String clusterName, String serviceName, String filter, String from, Integer limit, Integer offset, String to) throws ApiException
clusterName
- (required)serviceName
- The name of the service (required)filter
- A filter to apply to the queries. A basic filter tests the value of an attribute and looks something like 'rowsFetched = 1' or 'user = root'. Multiple basic filters can be combined into a complex expression using standard and / or boolean logic and parenthesis. An example of a complex filter is: 'query_duration > 5s and (user = root or user = myUserName)'. An example of expected full query string in requested URL is: '?filter=(query_duration > 5s and (user = root or user = myUserName))'. (optional, default to )from
- Start of the period to query in ISO 8601 format (defaults to 5 minutes before the 'to' time). (optional)limit
- The maximum number of queries to return. Queries will be returned in the following order: <ul> <li> All executing queries, ordered from longest to shortest running </li> <li> All completed queries order by end time descending. </li> </ul> (optional, default to 100)offset
- The offset to start returning queries from. This is useful for paging through lists of queries. Note that this has non-deterministic behavior if executing queries are included in the response because they can disappear from the list while paging. To exclude executing queries from the response and a 'executing = false' clause to your filter. (optional, default to 0)to
- End of the period to query in ISO 8601 format (defaults to current time). (optional, default to now)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiImpalaQueryResponse> getImpalaQueriesWithHttpInfo(String clusterName, String serviceName, String filter, String from, Integer limit, Integer offset, String to) throws ApiException
clusterName
- (required)serviceName
- The name of the service (required)filter
- A filter to apply to the queries. A basic filter tests the value of an attribute and looks something like 'rowsFetched = 1' or 'user = root'. Multiple basic filters can be combined into a complex expression using standard and / or boolean logic and parenthesis. An example of a complex filter is: 'query_duration > 5s and (user = root or user = myUserName)'. An example of expected full query string in requested URL is: '?filter=(query_duration > 5s and (user = root or user = myUserName))'. (optional, default to )from
- Start of the period to query in ISO 8601 format (defaults to 5 minutes before the 'to' time). (optional)limit
- The maximum number of queries to return. Queries will be returned in the following order: <ul> <li> All executing queries, ordered from longest to shortest running </li> <li> All completed queries order by end time descending. </li> </ul> (optional, default to 100)offset
- The offset to start returning queries from. This is useful for paging through lists of queries. Note that this has non-deterministic behavior if executing queries are included in the response because they can disappear from the list while paging. To exclude executing queries from the response and a 'executing = false' clause to your filter. (optional, default to 0)to
- End of the period to query in ISO 8601 format (defaults to current time). (optional, default to now)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getImpalaQueriesAsync(String clusterName, String serviceName, String filter, String from, Integer limit, Integer offset, String to, ApiCallback<ApiImpalaQueryResponse> callback) throws ApiException
clusterName
- (required)serviceName
- The name of the service (required)filter
- A filter to apply to the queries. A basic filter tests the value of an attribute and looks something like 'rowsFetched = 1' or 'user = root'. Multiple basic filters can be combined into a complex expression using standard and / or boolean logic and parenthesis. An example of a complex filter is: 'query_duration > 5s and (user = root or user = myUserName)'. An example of expected full query string in requested URL is: '?filter=(query_duration > 5s and (user = root or user = myUserName))'. (optional, default to )from
- Start of the period to query in ISO 8601 format (defaults to 5 minutes before the 'to' time). (optional)limit
- The maximum number of queries to return. Queries will be returned in the following order: <ul> <li> All executing queries, ordered from longest to shortest running </li> <li> All completed queries order by end time descending. </li> </ul> (optional, default to 100)offset
- The offset to start returning queries from. This is useful for paging through lists of queries. Note that this has non-deterministic behavior if executing queries are included in the response because they can disappear from the list while paging. To exclude executing queries from the response and a 'executing = false' clause to your filter. (optional, default to 0)to
- End of the period to query in ISO 8601 format (defaults to current time). (optional, default to now)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getImpalaQueryAttributesCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiImpalaQueryAttributeList getImpalaQueryAttributes(String clusterName, String serviceName) throws ApiException
clusterName
- (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiImpalaQueryAttributeList> getImpalaQueryAttributesWithHttpInfo(String clusterName, String serviceName) throws ApiException
clusterName
- (required)serviceName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getImpalaQueryAttributesAsync(String clusterName, String serviceName, ApiCallback<ApiImpalaQueryAttributeList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getQueryDetailsCall(String clusterName, String queryId, String serviceName, String format, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)queryId
- The queryId to get information about (required)serviceName
- (required)format
- There are two valid format parameters: <ul> <li> 'text': this is a text based, human readable representation of the Impala runtime profile. </li> <li> 'thrift_encoded': this a compact-thrift, base64 encoded representation of the Impala RuntimeProfile.thrift object. See the Impala documentation for more details. </li> </ul> (optional, default to text)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiImpalaQueryDetailsResponse getQueryDetails(String clusterName, String queryId, String serviceName, String format) throws ApiException
clusterName
- (required)queryId
- The queryId to get information about (required)serviceName
- (required)format
- There are two valid format parameters: <ul> <li> 'text': this is a text based, human readable representation of the Impala runtime profile. </li> <li> 'thrift_encoded': this a compact-thrift, base64 encoded representation of the Impala RuntimeProfile.thrift object. See the Impala documentation for more details. </li> </ul> (optional, default to text)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiImpalaQueryDetailsResponse> getQueryDetailsWithHttpInfo(String clusterName, String queryId, String serviceName, String format) throws ApiException
clusterName
- (required)queryId
- The queryId to get information about (required)serviceName
- (required)format
- There are two valid format parameters: <ul> <li> 'text': this is a text based, human readable representation of the Impala runtime profile. </li> <li> 'thrift_encoded': this a compact-thrift, base64 encoded representation of the Impala RuntimeProfile.thrift object. See the Impala documentation for more details. </li> </ul> (optional, default to text)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getQueryDetailsAsync(String clusterName, String queryId, String serviceName, String format, ApiCallback<ApiImpalaQueryDetailsResponse> callback) throws ApiException
clusterName
- (required)queryId
- The queryId to get information about (required)serviceName
- (required)format
- There are two valid format parameters: <ul> <li> 'text': this is a text based, human readable representation of the Impala runtime profile. </li> <li> 'thrift_encoded': this a compact-thrift, base64 encoded representation of the Impala RuntimeProfile.thrift object. See the Impala documentation for more details. </li> </ul> (optional, default to text)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.