Class MetricTokenAggregationResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.MetricTokenAggregationResult
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class MetricTokenAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Aggregation result data for the requested metric.
-
Constructor Summary
Constructors Constructor Description MetricTokenAggregationResult()
-
Method Summary
Modifier and Type Method Description Double
getEventRate()
Gets the eventRate.String
getKey()
Gets the key.Long
getMatchingResults()
Gets the matchingResults.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
MetricTokenAggregationResult
public MetricTokenAggregationResult()
-
-
Method Details
-
getKey
Gets the key.The content of the **natural_language_query** parameter used in the query that this result represents.
- 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 currently stored (queries and events are stored in the log for 30 days).
- Returns:
- the eventRate
-