Interface CollectionDAO.UsageDAO

  • Enclosing interface:
    CollectionDAO

    public static interface CollectionDAO.UsageDAO
    • Method Detail

      • insertOrReplaceCount

        void insertOrReplaceCount​(String date,
                                  String id,
                                  String entityType,
                                  int count1)
      • insertOrUpdateCount

        void insertOrUpdateCount​(String date,
                                 String id,
                                 String entityType,
                                 int count1)
      • delete

        void delete​(String id)
      • computePercentile

        void computePercentile​(String entityType,
                               String date)
        TODO: Not sure I get what the next comment means, but tests now use mysql 8 so maybe tests can be improved here Note not using in following percentile computation PERCENT_RANK function as unit tests use mysql5.7, and it does not have window function