public class MetricsBatteryUsageDaoImpl extends BaseAbstractDaoImpl<MetricsBatteryUsage,Object> implements MetricsBatteryUsageDao
| Constructor and Description |
|---|
MetricsBatteryUsageDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) |
| Modifier and Type | Method and Description |
|---|---|
long |
countOf(MetricsUtils.AGGREGATION_TYPE aggregationType,
long start,
long end) |
void |
deleteByNodeId(int nodeId) |
void |
deletePrevious(MetricsBatteryUsage metric) |
MetricsBatteryUsage |
get(MetricsBatteryUsage metric) |
List<MetricsBatteryUsage> |
getAggregationRequiredNodeIds(MetricsUtils.AGGREGATION_TYPE aggregationType,
Long fromTimestamp,
Long toTimestamp) |
List<MetricsBatteryUsage> |
getAll(List<Object> ids) |
List<MetricsBatteryUsage> |
getAll(MetricsBatteryUsage 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 MetricsBatteryUsageDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource)
throws SQLException
SQLExceptionpublic void deletePrevious(MetricsBatteryUsage metric)
deletePrevious in interface MetricsBatteryUsageDaopublic void deleteByNodeId(int nodeId)
deleteByNodeId in interface MetricsBatteryUsageDaopublic List<MetricsBatteryUsage> getAll(MetricsBatteryUsage metric)
getAll in interface MetricsBatteryUsageDaopublic MetricsBatteryUsage get(MetricsBatteryUsage metric)
get in interface BaseDao<MetricsBatteryUsage,Object>public List<MetricsBatteryUsage> getAll(List<Object> ids)
getAll in interface BaseDao<MetricsBatteryUsage,Object>public List<MetricsBatteryUsage> getAggregationRequiredNodeIds(MetricsUtils.AGGREGATION_TYPE aggregationType, Long fromTimestamp, Long toTimestamp)
getAggregationRequiredNodeIds in interface MetricsBatteryUsageDaopublic long countOf(MetricsUtils.AGGREGATION_TYPE aggregationType, long start, long end)
countOf in interface MetricsBatteryUsageDaopublic boolean isRecordFound(MetricsUtils.AGGREGATION_TYPE aggregationType, long start, long end)
isRecordFound in interface MetricsBatteryUsageDaoCopyright © 2015–2019. All rights reserved.