| Constructor and Description |
|---|
SensorDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) |
countOf, countOf, countOf, create, createOrUpdate, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAllData, getById, getDao, getQueryResponse, getTableInfo, hasTable, updateBulk, updateBulk, updateId, updatePurgeConditionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountOf, countOf, countOf, create, createOrUpdate, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAllData, getById, getTableInfo, updateBulk, updateBulk, updateIdpublic SensorDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource)
throws SQLException
SQLExceptionpublic void createOrUpdate(Integer gatewayId, String nodeEui, Sensor sensor)
createOrUpdate in interface SensorDaopublic void createOrUpdate(Integer nodeId, Sensor sensor)
createOrUpdate in interface SensorDaopublic void delete(Sensor sensor)
public void update(Sensor sensor)
public List<Sensor> getAllByNodeId(Integer nodeId)
getAllByNodeId in interface SensorDaopublic List<Sensor> getAllByNodeIds(List<Integer> nodeIds)
getAllByNodeIds in interface SensorDaopublic List<Integer> getSensorIds(String nodeEui, Integer gatewayId)
getSensorIds in interface SensorDaopublic List<Sensor> getAllByIds(List<Integer> ids)
getAllByIds in interface SensorDaopublic QueryResponse getAll(Query query)
public List<Integer> getSensorIdsByNodeIds(List<Integer> ids)
getSensorIdsByNodeIds in interface SensorDaopublic List<Sensor> getAllByRoomId(Integer roomId)
getAllByRoomId in interface SensorDaopublic Sensor getByRoomId(String sensorName, Integer roomId)
getByRoomId in interface SensorDaoCopyright © 2015–2019. All rights reserved.