public class MetricsCounterTypeDeviceDaoImpl extends BaseAbstractDaoImpl<MetricsCounterTypeDevice,Object> implements MetricsCounterTypeDeviceDao
| Constructor and Description |
|---|
MetricsCounterTypeDeviceDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) |
| Modifier and Type | Method and Description |
|---|---|
long |
countOf(MetricsUtils.AGGREGATION_TYPE aggregationType,
long start,
long end) |
void |
deleteBySensorVariableRefId(int sensorValueRefId) |
void |
deletePrevious(MetricsCounterTypeDevice metric) |
void |
deletePrevious(MetricsCounterTypeDevice metric,
ResourcePurgeConf purgeConfig) |
MetricsCounterTypeDevice |
get(MetricsCounterTypeDevice metric) |
List<MetricsCounterTypeDevice> |
getAggregationRequiredVariableIds(MetricsUtils.AGGREGATION_TYPE aggregationType,
Long fromTimestamp,
Long toTimestamp) |
List<MetricsCounterTypeDevice> |
getAll(List<Object> ids) |
List<MetricsCounterTypeDevice> |
getAll(MetricsCounterTypeDevice metric) |
boolean |
isRecordFound(MetricsUtils.AGGREGATION_TYPE aggregationType,
long start,
long end) |
countOf, countOf, countOf, create, createOrUpdate, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAll, getAllData, getById, getDao, getQueryResponse, getTableInfo, hasTable, update, updateBulk, updateBulk, updateId, updatePurgeConditionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountOf, countOf, countOf, create, createOrUpdate, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAllData, getById, getDao, getTableInfo, update, updateBulk, updateBulk, updateIdpublic MetricsCounterTypeDeviceDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource)
throws SQLException
SQLExceptionpublic void deletePrevious(MetricsCounterTypeDevice metric)
deletePrevious in interface MetricsCounterTypeDeviceDaopublic void deletePrevious(MetricsCounterTypeDevice metric, ResourcePurgeConf purgeConfig)
deletePrevious in interface MetricsCounterTypeDeviceDaopublic void deleteBySensorVariableRefId(int sensorValueRefId)
deleteBySensorVariableRefId in interface MetricsCounterTypeDeviceDaopublic List<MetricsCounterTypeDevice> getAll(MetricsCounterTypeDevice metric)
getAll in interface MetricsCounterTypeDeviceDaopublic MetricsCounterTypeDevice get(MetricsCounterTypeDevice metric)
get in interface BaseDao<MetricsCounterTypeDevice,Object>public List<MetricsCounterTypeDevice> getAll(List<Object> ids)
getAll in interface BaseDao<MetricsCounterTypeDevice,Object>public List<MetricsCounterTypeDevice> getAggregationRequiredVariableIds(MetricsUtils.AGGREGATION_TYPE aggregationType, Long fromTimestamp, Long toTimestamp)
getAggregationRequiredVariableIds in interface MetricsCounterTypeDeviceDaopublic long countOf(MetricsUtils.AGGREGATION_TYPE aggregationType, long start, long end)
countOf in interface MetricsCounterTypeDeviceDaopublic boolean isRecordFound(MetricsUtils.AGGREGATION_TYPE aggregationType, long start, long end)
isRecordFound in interface MetricsCounterTypeDeviceDaoCopyright © 2015–2019. All rights reserved.