Class SilverStatisticsManagerDAO


  • public class SilverStatisticsManagerDAO
    extends AbstractSilverStatisticsDAO
    This is the DAO Object for purge, agregat on the month
    Author:
    sleroux
    • Method Detail

      • insertDataStatsCumul

        public static void insertDataStatsCumul​(Connection con,
                                                StatType statsType,
                                                List<String> valueKeys,
                                                StatisticsConfig conf)
                                         throws SQLException
        Inserts cumulative statistic data.
        Parameters:
        con - the database connection
        statsType - the statistic type
        valueKeys - the keys on the values.
        conf - statistic database configuration
        Throws:
        SQLException - if an error occurs while inserting data in the database
      • putDataStatsCumul

        public static void putDataStatsCumul​(Connection con,
                                             StatType statsType,
                                             List<String> valueKeys,
                                             StatisticsConfig conf)
                                      throws SQLException
        Parameters:
        con - the database connection
        statsType - the statistic type
        valueKeys - keys on values
        conf - statistic database configuration
        Throws:
        SQLException - if an error occurs while putting data in the database
      • makeStatCumul

        public static void makeStatCumul​(Connection con,
                                         StatType statsType,
                                         StatisticsConfig conf)
        Parameters:
        con - the database connection
        statsType - the statistic type
        conf - statistic database configuration
      • makeStatAllCumul

        public static void makeStatAllCumul​(StatisticsConfig conf)