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, updatePurgeCondition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countOf, countOf, countOf, create, createOrUpdate, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAllData, getById, getDao, getTableInfo, update, updateBulk, updateBulk, updateId
public MetricsCounterTypeDeviceDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) throws SQLException
SQLException
public void deletePrevious(MetricsCounterTypeDevice metric)
deletePrevious
in interface MetricsCounterTypeDeviceDao
public void deletePrevious(MetricsCounterTypeDevice metric, ResourcePurgeConf purgeConfig)
deletePrevious
in interface MetricsCounterTypeDeviceDao
public void deleteBySensorVariableRefId(int sensorValueRefId)
deleteBySensorVariableRefId
in interface MetricsCounterTypeDeviceDao
public List<MetricsCounterTypeDevice> getAll(MetricsCounterTypeDevice metric)
getAll
in interface MetricsCounterTypeDeviceDao
public 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 MetricsCounterTypeDeviceDao
public long countOf(MetricsUtils.AGGREGATION_TYPE aggregationType, long start, long end)
countOf
in interface MetricsCounterTypeDeviceDao
public boolean isRecordFound(MetricsUtils.AGGREGATION_TYPE aggregationType, long start, long end)
isRecordFound
in interface MetricsCounterTypeDeviceDao
Copyright © 2015–2019. All rights reserved.