public class MetricTokenAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.Double |
eventRate |
protected java.lang.String |
key |
protected java.lang.Long |
matchingResults |
Constructor and Description |
---|
MetricTokenAggregationResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getEventRate()
Gets the eventRate.
|
java.lang.String |
getKey()
Gets the key.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
protected java.lang.String key
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
@SerializedName(value="event_rate") protected java.lang.Double eventRate
public java.lang.String getKey()
The content of the **natural_language_query** parameter used in the query that this result represents.
public java.lang.Long getMatchingResults()
Number of matching results.
public java.lang.Double getEventRate()
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).