public HeartbeatReport queryDailyReport(String domain, Date start, Date end) {
throw new RuntimeException("Heartbeat report don't support daily report");
}
private HeartbeatReport queryFromHourlyBinary(int id, String domain) throws DalException {
HourlyReportContent content = m_hourlyReportContentDao.findByPK(id, HourlyReportContentEntity.READSET_FULL);
if (content != null) {
return DefaultNativeParser.parse(content.getContent());
} else {
return new HeartbeatReport(domain);
}
}