Class GetEventStatistics

java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetEventStatistics

public class GetEventStatistics extends DAO
A Data Access Object to fetch Online Event statistics from the database.
Since:
10.2
Version:
10.2
Author:
Luke
  • Constructor Details

    • GetEventStatistics

      public GetEventStatistics(Connection c)
      Initializes the Data Access Object.
      Parameters:
      c - the JDBC connection to use
  • Method Details

    • getStatistics

      public List<EventStats> getStatistics() throws DAOException
      Retrieves per-Event statistics.
      Returns:
      a List of EventStats beans
      Throws:
      DAOException - if a JDBC error occurs
    • getMonthlyStatistics

      public List<EventStats> getMonthlyStatistics() throws DAOException
      Retrieves monthly aggregated Event statistics.
      Returns:
      a List of EventStats beans
      Throws:
      DAOException - if a JDBC error occurs