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, 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 MetricsBatteryUsageDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) throws SQLException
SQLException
public void deletePrevious(MetricsBatteryUsage metric)
deletePrevious
in interface MetricsBatteryUsageDao
public void deleteByNodeId(int nodeId)
deleteByNodeId
in interface MetricsBatteryUsageDao
public List<MetricsBatteryUsage> getAll(MetricsBatteryUsage metric)
getAll
in interface MetricsBatteryUsageDao
public 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 MetricsBatteryUsageDao
public long countOf(MetricsUtils.AGGREGATION_TYPE aggregationType, long start, long end)
countOf
in interface MetricsBatteryUsageDao
public boolean isRecordFound(MetricsUtils.AGGREGATION_TYPE aggregationType, long start, long end)
isRecordFound
in interface MetricsBatteryUsageDao
Copyright © 2015–2019. All rights reserved.