public class TimeSeriesResourceApi extends Object
Constructor and Description |
---|
TimeSeriesResourceApi() |
TimeSeriesResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
ApiTimeSeriesEntityAttributeList |
getEntityTypeAttributes()
Retrieve all metric entity type attributes monitored by Cloudera Manager.
|
com.squareup.okhttp.Call |
getEntityTypeAttributesAsync(ApiCallback<ApiTimeSeriesEntityAttributeList> callback)
Retrieve all metric entity type attributes monitored by Cloudera Manager.
|
com.squareup.okhttp.Call |
getEntityTypeAttributesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getEntityTypeAttributes
|
ApiResponse<ApiTimeSeriesEntityAttributeList> |
getEntityTypeAttributesWithHttpInfo()
Retrieve all metric entity type attributes monitored by Cloudera Manager.
|
ApiTimeSeriesEntityTypeList |
getEntityTypes()
Retrieve all metric entity types monitored by Cloudera Manager.
|
com.squareup.okhttp.Call |
getEntityTypesAsync(ApiCallback<ApiTimeSeriesEntityTypeList> callback)
Retrieve all metric entity types monitored by Cloudera Manager.
|
com.squareup.okhttp.Call |
getEntityTypesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getEntityTypes
|
ApiResponse<ApiTimeSeriesEntityTypeList> |
getEntityTypesWithHttpInfo()
Retrieve all metric entity types monitored by Cloudera Manager.
|
ApiMetricSchemaList |
getMetricSchema()
Retrieve schema for all metrics.
|
com.squareup.okhttp.Call |
getMetricSchemaAsync(ApiCallback<ApiMetricSchemaList> callback)
Retrieve schema for all metrics.
|
com.squareup.okhttp.Call |
getMetricSchemaCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getMetricSchema
|
ApiResponse<ApiMetricSchemaList> |
getMetricSchemaWithHttpInfo()
Retrieve schema for all metrics.
|
ApiTimeSeriesResponseList |
queryTimeSeries_0(ApiTimeSeriesRequest body)
Retrieve time-series data from the Cloudera Manager (CM) time-series data store accepting HTTP POST request.
|
com.squareup.okhttp.Call |
queryTimeSeries_0Async(ApiTimeSeriesRequest body,
ApiCallback<ApiTimeSeriesResponseList> callback)
Retrieve time-series data from the Cloudera Manager (CM) time-series data store accepting HTTP POST request.
|
com.squareup.okhttp.Call |
queryTimeSeries_0Call(ApiTimeSeriesRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for queryTimeSeries_0
|
ApiResponse<ApiTimeSeriesResponseList> |
queryTimeSeries_0WithHttpInfo(ApiTimeSeriesRequest body)
Retrieve time-series data from the Cloudera Manager (CM) time-series data store accepting HTTP POST request.
|
ApiTimeSeriesResponseList |
queryTimeSeries(String contentType,
String desiredRollup,
String from,
Boolean mustUseDesiredRollup,
String query,
String to)
Retrieve time-series data from the Cloudera Manager (CM) time-series data store using a tsquery.
|
com.squareup.okhttp.Call |
queryTimeSeriesAsync(String contentType,
String desiredRollup,
String from,
Boolean mustUseDesiredRollup,
String query,
String to,
ApiCallback<ApiTimeSeriesResponseList> callback)
Retrieve time-series data from the Cloudera Manager (CM) time-series data store using a tsquery.
|
com.squareup.okhttp.Call |
queryTimeSeriesCall(String contentType,
String desiredRollup,
String from,
Boolean mustUseDesiredRollup,
String query,
String to,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for queryTimeSeries
|
ApiResponse<ApiTimeSeriesResponseList> |
queryTimeSeriesWithHttpInfo(String contentType,
String desiredRollup,
String from,
Boolean mustUseDesiredRollup,
String query,
String to)
Retrieve time-series data from the Cloudera Manager (CM) time-series data store using a tsquery.
|
void |
setApiClient(ApiClient apiClient) |
public TimeSeriesResourceApi()
public TimeSeriesResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getEntityTypeAttributesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiTimeSeriesEntityAttributeList getEntityTypeAttributes() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiTimeSeriesEntityAttributeList> getEntityTypeAttributesWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEntityTypeAttributesAsync(ApiCallback<ApiTimeSeriesEntityAttributeList> callback) throws ApiException
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 getEntityTypesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiTimeSeriesEntityTypeList getEntityTypes() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiTimeSeriesEntityTypeList> getEntityTypesWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEntityTypesAsync(ApiCallback<ApiTimeSeriesEntityTypeList> callback) throws ApiException
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 getMetricSchemaCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiMetricSchemaList getMetricSchema() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiMetricSchemaList> getMetricSchemaWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getMetricSchemaAsync(ApiCallback<ApiMetricSchemaList> callback) throws ApiException
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 queryTimeSeriesCall(String contentType, String desiredRollup, String from, Boolean mustUseDesiredRollup, String query, String to, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
contentType
- to return the response in. The content types \"application/json\" and \"text/csv\" are supported. This defaults to \"application/json\". If \"text/csv\" is specified then we return one row per time series data point, and we don't return any of the metadata. (optional, default to application/json)desiredRollup
- Aggregate rollup level desired for the response data. Valid values are RAW, TEN_MINUTELY, HOURLY, SIX_HOURLY, DAILY, and WEEKLY. Note that if the mustUseDesiredRollup parameter is not set, then the monitoring server can decide to return a different rollup level. (optional, default to RAW)from
- Start of the period to query in ISO 8601 format (defaults to 5 minutes before the end of the period). (optional)mustUseDesiredRollup
- If set then the tsquery will return data with the desired aggregate rollup level. (optional, default to false)query
- Tsquery to run against the CM time-series data store. (optional)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 ApiTimeSeriesResponseList queryTimeSeries(String contentType, String desiredRollup, String from, Boolean mustUseDesiredRollup, String query, String to) throws ApiException
contentType
- to return the response in. The content types \"application/json\" and \"text/csv\" are supported. This defaults to \"application/json\". If \"text/csv\" is specified then we return one row per time series data point, and we don't return any of the metadata. (optional, default to application/json)desiredRollup
- Aggregate rollup level desired for the response data. Valid values are RAW, TEN_MINUTELY, HOURLY, SIX_HOURLY, DAILY, and WEEKLY. Note that if the mustUseDesiredRollup parameter is not set, then the monitoring server can decide to return a different rollup level. (optional, default to RAW)from
- Start of the period to query in ISO 8601 format (defaults to 5 minutes before the end of the period). (optional)mustUseDesiredRollup
- If set then the tsquery will return data with the desired aggregate rollup level. (optional, default to false)query
- Tsquery to run against the CM time-series data store. (optional)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<ApiTimeSeriesResponseList> queryTimeSeriesWithHttpInfo(String contentType, String desiredRollup, String from, Boolean mustUseDesiredRollup, String query, String to) throws ApiException
contentType
- to return the response in. The content types \"application/json\" and \"text/csv\" are supported. This defaults to \"application/json\". If \"text/csv\" is specified then we return one row per time series data point, and we don't return any of the metadata. (optional, default to application/json)desiredRollup
- Aggregate rollup level desired for the response data. Valid values are RAW, TEN_MINUTELY, HOURLY, SIX_HOURLY, DAILY, and WEEKLY. Note that if the mustUseDesiredRollup parameter is not set, then the monitoring server can decide to return a different rollup level. (optional, default to RAW)from
- Start of the period to query in ISO 8601 format (defaults to 5 minutes before the end of the period). (optional)mustUseDesiredRollup
- If set then the tsquery will return data with the desired aggregate rollup level. (optional, default to false)query
- Tsquery to run against the CM time-series data store. (optional)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 queryTimeSeriesAsync(String contentType, String desiredRollup, String from, Boolean mustUseDesiredRollup, String query, String to, ApiCallback<ApiTimeSeriesResponseList> callback) throws ApiException
contentType
- to return the response in. The content types \"application/json\" and \"text/csv\" are supported. This defaults to \"application/json\". If \"text/csv\" is specified then we return one row per time series data point, and we don't return any of the metadata. (optional, default to application/json)desiredRollup
- Aggregate rollup level desired for the response data. Valid values are RAW, TEN_MINUTELY, HOURLY, SIX_HOURLY, DAILY, and WEEKLY. Note that if the mustUseDesiredRollup parameter is not set, then the monitoring server can decide to return a different rollup level. (optional, default to RAW)from
- Start of the period to query in ISO 8601 format (defaults to 5 minutes before the end of the period). (optional)mustUseDesiredRollup
- If set then the tsquery will return data with the desired aggregate rollup level. (optional, default to false)query
- Tsquery to run against the CM time-series data store. (optional)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 queryTimeSeries_0Call(ApiTimeSeriesRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- Request object containing information used when retrieving timeseries data. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiTimeSeriesResponseList queryTimeSeries_0(ApiTimeSeriesRequest body) throws ApiException
body
- Request object containing information used when retrieving timeseries data. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiTimeSeriesResponseList> queryTimeSeries_0WithHttpInfo(ApiTimeSeriesRequest body) throws ApiException
body
- Request object containing information used when retrieving timeseries data. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call queryTimeSeries_0Async(ApiTimeSeriesRequest body, ApiCallback<ApiTimeSeriesResponseList> callback) throws ApiException
body
- Request object containing information used when retrieving timeseries data. (optional)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.