public class QueryProvider extends Object
| Modifier and Type | Field and Description | 
|---|---|
static long | 
MAX_BUCKETS
Maximum number of buckets that can be processed in one request. 
 | 
static long | 
MAX_STATES_FOR_ALARM
Maximum number of states to return when querying the states for a single alarm. 
 | 
| Constructor and Description | 
|---|
QueryProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getActiveAlarmIdsAt(TimeRange timeRange,
                   Integer afterAlarmWithId)  | 
String | 
getActiveAlarmIdsAtTimeAndExclude(TimeRange timeRange,
                                 Set<Integer> alarmIdsToKeep,
                                 Integer afterAlarmWithId)  | 
String | 
getActiveAlarmsAt(TimeRange timeRange,
                 Integer afterAlarmWithId)  | 
String | 
getAlarmByDbIdAt(long id,
                TimeRange timeRange)  | 
String | 
getAlarmByReductionKeyAt(String reductionKey,
                        TimeRange timeRange)  | 
String | 
getAlarmStatesByDbId(long id)  | 
String | 
getAlarmStatesByReductionKey(String reductionKey)  | 
String | 
getAllAlarms(TimeRange timeRange,
            Integer afterAlarmWithId)  | 
public static final long MAX_STATES_FOR_ALARM
public static final long MAX_BUCKETS
public String getAlarmStatesByDbId(long id)
public String getAlarmByReductionKeyAt(String reductionKey, TimeRange timeRange)
public String getActiveAlarmIdsAt(TimeRange timeRange, Integer afterAlarmWithId)
public String getActiveAlarmIdsAtTimeAndExclude(TimeRange timeRange, Set<Integer> alarmIdsToKeep, Integer afterAlarmWithId)
Copyright © 2020. All rights reserved.