public class Timeslice extends QueryAggregation
Constructor and Description |
---|
Timeslice() |
Modifier and Type | Method and Description |
---|---|
String |
getField()
Gets the field.
|
String |
getInterval()
Gets the interval.
|
Boolean |
isAnomaly()
Gets the anomaly.
|
getAggregations, getMatchingResults, getResults, getType
public String getField()
The field where the aggregation is located in the document.
public String getInterval()
Interval of the aggregation. Valid date interval values are second/seconds minute/minutes, hour/hours, day/days, week/weeks, month/months, and year/years.
public Boolean isAnomaly()
Used to indicate that anomaly detection should be performed. Anomaly detection is used to locate unusual datapoints within a time series.
Copyright © 2021 IBM Cloud. All rights reserved.