Class GetEventStatistics
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetEventStatistics
A Data Access Object to fetch Online Event statistics from the database.
- Since:
- 10.2
- Version:
- 10.2
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves monthly aggregated Event statistics.Retrieves per-Event statistics.Methods inherited from class org.deltava.dao.DAO
commitTransaction, createTimestamp, executeIDs, executeUpdate, executeUpdate, expandDate, formatDBName, formatLocation, getNewID, getQueryCount, prepare, prepareWithoutLimits, rollbackTransaction, setQueryMax, setQueryStart, setQueryTimeout, startTransaction, toID, toID, toInstant
-
Constructor Details
-
GetEventStatistics
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getStatistics
Retrieves per-Event statistics.- Returns:
- a List of EventStats beans
- Throws:
DAOException
- if a JDBC error occurs
-
getMonthlyStatistics
Retrieves monthly aggregated Event statistics.- Returns:
- a List of EventStats beans
- Throws:
DAOException
- if a JDBC error occurs
-