public class QueryTimesliceAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<QueryAggregation> |
aggregations |
protected java.lang.Long |
key |
protected java.lang.String |
keyAsString |
protected java.lang.Long |
matchingResults |
Constructor and Description |
---|
QueryTimesliceAggregationResult() |
Modifier and Type | Method and Description |
---|---|
java.util.List<QueryAggregation> |
getAggregations()
Gets the aggregations.
|
java.lang.Long |
getKey()
Gets the key.
|
java.lang.String |
getKeyAsString()
Gets the keyAsString.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
@SerializedName(value="key_as_string") protected java.lang.String keyAsString
protected java.lang.Long key
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
protected java.util.List<QueryAggregation> aggregations
public java.lang.String getKeyAsString()
String date value of the upper bound for the timeslice interval in ISO-8601 format.
public java.lang.Long getKey()
Numeric date value of the upper bound for the timeslice interval in UNIX milliseconds since epoch.
public java.lang.Long getMatchingResults()
Number of documents with the specified key as the upper bound.
public java.util.List<QueryAggregation> getAggregations()
An array of sub aggregations.