Package step.core.timeseries
Class TimeSeriesQuery
- java.lang.Object
-
- step.core.timeseries.TimeSeriesQuery
-
- Direct Known Subclasses:
TimeSeriesAggregationQuery
public class TimeSeriesQuery extends Object
-
-
Constructor Summary
Constructors Constructor Description TimeSeriesQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeSeriesQueryfilter(Map<String,String> filters)Specifies the mandatory list of key-value attributes that the series should matchprotected Map<String,String>getFilters()LonggetFrom()LonggetTo()TimeSeriesQueryrange(long from, long to)Specifies a time range for the query
-
-
-
Method Detail
-
filter
public TimeSeriesQuery filter(Map<String,String> filters)
Specifies the mandatory list of key-value attributes that the series should match- Parameters:
filters- the mandatory key-value attributes that the series should match- Returns:
- the builder
-
range
public TimeSeriesQuery range(long from, long to)
Specifies a time range for the query- Parameters:
from- the beginning of the time range in ms (Epoch time)to- the end of the time range (Epoch time)- Returns:
- the builder
-
getFrom
public Long getFrom()
-
getTo
public Long getTo()
-
-