public class MetricsBinaryTypeDeviceDaoImpl extends BaseAbstractDaoImpl<MetricsBinaryTypeDevice,Object> implements MetricsBinaryTypeDeviceDao
Constructor and Description |
---|
MetricsBinaryTypeDeviceDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) |
Modifier and Type | Method and Description |
---|---|
void |
deleteBySensorVariableRefId(int sensorVarRefId) |
void |
deletePrevious(MetricsBinaryTypeDevice metric) |
MetricsBinaryTypeDevice |
get(MetricsBinaryTypeDevice metric) |
List<MetricsBinaryTypeDevice> |
getAll(List<Object> ids) |
List<MetricsBinaryTypeDevice> |
getAll(MetricsBinaryTypeDevice metric) |
List<MetricsBinaryTypeDevice> |
getAllLastN(SensorVariable sensorVariable,
long lastN) |
void |
updateTimestamp(int sensorVariableId,
long timestampOld,
long timestanpNew) |
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 MetricsBinaryTypeDeviceDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) throws SQLException
SQLException
public void deleteBySensorVariableRefId(int sensorVarRefId)
deleteBySensorVariableRefId
in interface MetricsBinaryTypeDeviceDao
public void deletePrevious(MetricsBinaryTypeDevice metric)
deletePrevious
in interface MetricsBinaryTypeDeviceDao
public List<MetricsBinaryTypeDevice> getAll(MetricsBinaryTypeDevice metric)
getAll
in interface MetricsBinaryTypeDeviceDao
public MetricsBinaryTypeDevice get(MetricsBinaryTypeDevice metric)
get
in interface BaseDao<MetricsBinaryTypeDevice,Object>
public List<MetricsBinaryTypeDevice> getAll(List<Object> ids)
getAll
in interface BaseDao<MetricsBinaryTypeDevice,Object>
public List<MetricsBinaryTypeDevice> getAllLastN(SensorVariable sensorVariable, long lastN)
getAllLastN
in interface MetricsBinaryTypeDeviceDao
public void updateTimestamp(int sensorVariableId, long timestampOld, long timestanpNew)
updateTimestamp
in interface MetricsBinaryTypeDeviceDao
Copyright © 2015–2019. All rights reserved.