接口 YueBrowserAnalysisRepository

所有超级接口:
org.springframework.data.repository.CrudRepository<YueBrowserAnalysis,String>, org.springframework.data.jpa.repository.JpaRepository<YueBrowserAnalysis,String>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<YueBrowserAnalysis>, org.springframework.data.repository.ListCrudRepository<YueBrowserAnalysis,String>, org.springframework.data.repository.ListPagingAndSortingRepository<YueBrowserAnalysis,String>, org.springframework.data.repository.PagingAndSortingRepository<YueBrowserAnalysis,String>, org.springframework.data.repository.query.QueryByExampleExecutor<YueBrowserAnalysis>, org.springframework.data.repository.Repository<YueBrowserAnalysis,String>, YueRepository<YueBrowserAnalysis,String>

@Repository public interface YueBrowserAnalysisRepository extends YueRepository<YueBrowserAnalysis,String>
  • 方法概要

    从接口继承的方法 org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    从接口继承的方法 org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    从接口继承的方法 org.springframework.data.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findAll, findBy, findOne

    从接口继承的方法 org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    从接口继承的方法 org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    从接口继承的方法 org.springframework.data.repository.PagingAndSortingRepository

    findAll

    从接口继承的方法 org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne

    从接口继承的方法 cn.xisoil.curd.dao.YueRepository

    deleteAllByIdIn, findTopByIdNotNull
  • 方法详细资料

    • findTopByDateAndBrowser

      Optional<YueBrowserAnalysis> findTopByDateAndBrowser(String time, AnalysisBrowser browser)
    • findTop5SumByBrowser

      @Query("select new map(browser.browser as name,sum(browser.uvCount) as value) from YueBrowserAnalysis browser group by browser.browser order by sum(browser.uvCount) desc ") List<Map<String,Object>> findTop5SumByBrowser()