public class NameservicesResourceApi extends Object
Constructor and Description |
---|
NameservicesResourceApi() |
NameservicesResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
ApiMetricList |
getMetrics(String clusterName,
String nameservice,
String serviceName,
String from,
List<String> metrics,
String to,
String view)
Fetch metric readings for a particular nameservice.
|
com.squareup.okhttp.Call |
getMetricsAsync(String clusterName,
String nameservice,
String serviceName,
String from,
List<String> metrics,
String to,
String view,
ApiCallback<ApiMetricList> callback)
Fetch metric readings for a particular nameservice.
|
com.squareup.okhttp.Call |
getMetricsCall(String clusterName,
String nameservice,
String serviceName,
String from,
List<String> metrics,
String to,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getMetrics
|
ApiResponse<ApiMetricList> |
getMetricsWithHttpInfo(String clusterName,
String nameservice,
String serviceName,
String from,
List<String> metrics,
String to,
String view)
Fetch metric readings for a particular nameservice.
|
ApiNameserviceList |
listNameservices(String clusterName,
String serviceName,
String view)
List the nameservices of an HDFS service.
|
com.squareup.okhttp.Call |
listNameservicesAsync(String clusterName,
String serviceName,
String view,
ApiCallback<ApiNameserviceList> callback)
List the nameservices of an HDFS service.
|
com.squareup.okhttp.Call |
listNameservicesCall(String clusterName,
String serviceName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listNameservices
|
ApiResponse<ApiNameserviceList> |
listNameservicesWithHttpInfo(String clusterName,
String serviceName,
String view)
List the nameservices of an HDFS service.
|
ApiNameservice |
readNameservice(String clusterName,
String nameservice,
String serviceName,
String view)
Retrieve information about a nameservice.
|
com.squareup.okhttp.Call |
readNameserviceAsync(String clusterName,
String nameservice,
String serviceName,
String view,
ApiCallback<ApiNameservice> callback)
Retrieve information about a nameservice.
|
com.squareup.okhttp.Call |
readNameserviceCall(String clusterName,
String nameservice,
String serviceName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readNameservice
|
ApiResponse<ApiNameservice> |
readNameserviceWithHttpInfo(String clusterName,
String nameservice,
String serviceName,
String view)
Retrieve information about a nameservice.
|
void |
setApiClient(ApiClient apiClient) |
public NameservicesResourceApi()
public NameservicesResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getMetricsCall(String clusterName, String nameservice, String serviceName, String from, List<String> metrics, String to, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)nameservice
- The nameservice. (required)serviceName
- The service name. (required)from
- Start of the period to query. (optional)metrics
- Filter for which metrics to query. (optional)to
- End of the period to query. (optional, default to now)view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiMetricList getMetrics(String clusterName, String nameservice, String serviceName, String from, List<String> metrics, String to, String view) throws ApiException
clusterName
- (required)nameservice
- The nameservice. (required)serviceName
- The service name. (required)from
- Start of the period to query. (optional)metrics
- Filter for which metrics to query. (optional)to
- End of the period to query. (optional, default to now)view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiMetricList> getMetricsWithHttpInfo(String clusterName, String nameservice, String serviceName, String from, List<String> metrics, String to, String view) throws ApiException
clusterName
- (required)nameservice
- The nameservice. (required)serviceName
- The service name. (required)from
- Start of the period to query. (optional)metrics
- Filter for which metrics to query. (optional)to
- End of the period to query. (optional, default to now)view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getMetricsAsync(String clusterName, String nameservice, String serviceName, String from, List<String> metrics, String to, String view, ApiCallback<ApiMetricList> callback) throws ApiException
clusterName
- (required)nameservice
- The nameservice. (required)serviceName
- The service name. (required)from
- Start of the period to query. (optional)metrics
- Filter for which metrics to query. (optional)to
- End of the period to query. (optional, default to now)view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)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 listNameservicesCall(String clusterName, String serviceName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiNameserviceList listNameservices(String clusterName, String serviceName, String view) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiNameserviceList> listNameservicesWithHttpInfo(String clusterName, String serviceName, String view) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listNameservicesAsync(String clusterName, String serviceName, String view, ApiCallback<ApiNameserviceList> callback) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)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 readNameserviceCall(String clusterName, String nameservice, String serviceName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)nameservice
- The nameservice to retrieve. (required)serviceName
- The service name. (required)view
- The view to materialize. Defaults to 'full'. (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiNameservice readNameservice(String clusterName, String nameservice, String serviceName, String view) throws ApiException
clusterName
- (required)nameservice
- The nameservice to retrieve. (required)serviceName
- The service name. (required)view
- The view to materialize. Defaults to 'full'. (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiNameservice> readNameserviceWithHttpInfo(String clusterName, String nameservice, String serviceName, String view) throws ApiException
clusterName
- (required)nameservice
- The nameservice to retrieve. (required)serviceName
- The service name. (required)view
- The view to materialize. Defaults to 'full'. (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readNameserviceAsync(String clusterName, String nameservice, String serviceName, String view, ApiCallback<ApiNameservice> callback) throws ApiException
clusterName
- (required)nameservice
- The nameservice to retrieve. (required)serviceName
- The service name. (required)view
- The view to materialize. Defaults to 'full'. (optional, default to summary)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.