public class MetricsDoubleTypeDeviceDaoImpl extends BaseAbstractDaoImpl<MetricsDoubleTypeDevice,Object> implements MetricsDoubleTypeDeviceDao
Constructor and Description |
---|
MetricsDoubleTypeDeviceDaoImpl(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(MetricsDoubleTypeDevice metric) |
void |
deletePrevious(MetricsDoubleTypeDevice metric,
ResourcePurgeConf purgeConfig) |
MetricsDoubleTypeDevice |
get(MetricsDoubleTypeDevice metric) |
List<MetricsDoubleTypeDevice> |
getAggregationRequiredVariableIds(MetricsUtils.AGGREGATION_TYPE aggregationType,
Long fromTimestamp,
Long toTimestamp) |
List<MetricsDoubleTypeDevice> |
getAll(List<Object> ids) |
List<MetricsDoubleTypeDevice> |
getAll(MetricsDoubleTypeDevice metric) |
MetricsDoubleTypeDevice |
getMinMaxAvg(MetricsDoubleTypeDevice 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 MetricsDoubleTypeDeviceDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) throws SQLException
SQLException
public void deletePrevious(MetricsDoubleTypeDevice metric)
deletePrevious
in interface MetricsDoubleTypeDeviceDao
public void deletePrevious(MetricsDoubleTypeDevice metric, ResourcePurgeConf purgeConfig)
deletePrevious
in interface MetricsDoubleTypeDeviceDao
public void deleteBySensorVariableRefId(int sensorValueRefId)
deleteBySensorVariableRefId
in interface MetricsDoubleTypeDeviceDao
public List<MetricsDoubleTypeDevice> getAll(MetricsDoubleTypeDevice metric)
getAll
in interface MetricsDoubleTypeDeviceDao
public MetricsDoubleTypeDevice get(MetricsDoubleTypeDevice metric)
get
in interface BaseDao<MetricsDoubleTypeDevice,Object>
public List<MetricsDoubleTypeDevice> getAll(List<Object> ids)
getAll
in interface BaseDao<MetricsDoubleTypeDevice,Object>
public List<MetricsDoubleTypeDevice> getAggregationRequiredVariableIds(MetricsUtils.AGGREGATION_TYPE aggregationType, Long fromTimestamp, Long toTimestamp)
getAggregationRequiredVariableIds
in interface MetricsDoubleTypeDeviceDao
public MetricsDoubleTypeDevice getMinMaxAvg(MetricsDoubleTypeDevice metric)
getMinMaxAvg
in interface MetricsDoubleTypeDeviceDao
public long countOf(MetricsUtils.AGGREGATION_TYPE aggregationType, long start, long end)
countOf
in interface MetricsDoubleTypeDeviceDao
public boolean isRecordFound(MetricsUtils.AGGREGATION_TYPE aggregationType, long start, long end)
isRecordFound
in interface MetricsDoubleTypeDeviceDao
Copyright © 2015–2019. All rights reserved.