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 SummaryConstructors Constructor Description QueryTimesliceAggregationResult()
- 
Method SummaryModifier and Type Method Description List<QueryAggregation>getAggregations()Gets the aggregations.LonggetKey()Gets the key.StringgetKeyAsString()Gets the keyAsString.LonggetMatchingResults()Gets the matchingResults.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModelequals, hashCode, toString
- 
Constructor Details- 
QueryTimesliceAggregationResultpublic QueryTimesliceAggregationResult()
 
- 
- 
Method Details- 
getKeyAsStringGets the keyAsString.String date value of the upper bound for the timeslice interval in ISO-8601 format. - Returns:
- the keyAsString
 
- 
getKeyGets the key.Numeric date value of the upper bound for the timeslice interval in UNIX milliseconds since epoch. - Returns:
- the key
 
- 
getMatchingResultsGets the matchingResults.Number of documents with the specified key as the upper bound. - Returns:
- the matchingResults
 
- 
getAggregationsGets the aggregations.An array of sub aggregations. - Returns:
- the aggregations
 
 
-