Class MetricAggregationResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.MetricAggregationResult
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class MetricAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Aggregation result data for the requested metric.
-
Constructor Summary
Constructors Constructor Description MetricAggregationResult()
-
Method Summary
Modifier and Type Method Description Double
getEventRate()
Gets the eventRate.Long
getKey()
Gets the key.Date
getKeyAsString()
Gets the keyAsString.Long
getMatchingResults()
Gets the matchingResults.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
MetricAggregationResult
public MetricAggregationResult()
-
-
Method Details
-
getKeyAsString
Gets the keyAsString.Date in string form representing the start of this interval.
- Returns:
- the keyAsString
-
getKey
Gets the key.Unix epoch time equivalent of the **key_as_string**, that represents the start of this interval.
- Returns:
- the key
-
getMatchingResults
Gets the matchingResults.Number of matching results.
- Returns:
- the matchingResults
-
getEventRate
Gets the eventRate.The number of queries with associated events divided by the total number of queries for the interval. Only returned with **event_rate** metrics.
- Returns:
- the eventRate
-