Class QueryTimesliceAggregationResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.QueryTimesliceAggregationResult
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class QueryTimesliceAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A timeslice interval segment.
-
Constructor Summary
Constructors Constructor Description QueryTimesliceAggregationResult()
-
Method Summary
Modifier and Type Method Description List<QueryAggregation>
getAggregations()
Gets the aggregations.Long
getKey()
Gets the key.String
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
-
QueryTimesliceAggregationResult
public QueryTimesliceAggregationResult()
-
-
Method Details
-
getKeyAsString
Gets the keyAsString.String date value of the upper bound for the timeslice interval in ISO-8601 format.
- Returns:
- the keyAsString
-
getKey
Gets the key.Numeric date value of the upper bound for the timeslice interval in UNIX milliseconds since epoch.
- Returns:
- the key
-
getMatchingResults
Gets the matchingResults.Number of documents with the specified key as the upper bound.
- Returns:
- the matchingResults
-
getAggregations
Gets the aggregations.An array of sub-aggregations.
- Returns:
- the aggregations
-