接口 RouteDao

所有超级接口:
org.springframework.data.repository.CrudRepository<Route,Long>, CustomizedRouteDao, io.geewit.data.jpa.essential.repository.EntityGraphCrudRepository<Route,Long>, io.geewit.data.jpa.essential.repository.EntityGraphJpaRepository<Route,Long>, io.geewit.data.jpa.essential.repository.EntityGraphJpaSpecificationExecutor<Route>, io.geewit.data.jpa.essential.repository.EntityGraphPagingAndSortingRepository<Route,Long>, io.geewit.data.jpa.envers.repository.EnversRevisionRepository<Route,Long,String>, org.springframework.data.jpa.repository.JpaRepository<Route,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<Route>, org.springframework.data.repository.PagingAndSortingRepository<Route,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<Route>, org.springframework.data.repository.Repository<Route,Long>, org.springframework.data.repository.history.RevisionRepository<Route,Long,Integer>

public interface RouteDao extends io.geewit.data.jpa.essential.repository.EntityGraphJpaRepository<Route,Long>, io.geewit.data.jpa.essential.repository.EntityGraphJpaSpecificationExecutor<Route>, io.geewit.data.jpa.envers.repository.EnversRevisionRepository<Route,Long,String>, CustomizedRouteDao
  • 方法概要

    修饰符和类型
    方法
    说明
    long
    按hash值查看是否已存在相同的route
    按Path查询路由
     

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

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

    从接口继承的方法 com.xforceplus.dao.CustomizedRouteDao

    all

    从接口继承的方法 io.geewit.data.jpa.essential.repository.EntityGraphCrudRepository

    findAll, findAllById, findById

    从接口继承的方法 io.geewit.data.jpa.essential.repository.EntityGraphJpaSpecificationExecutor

    findAll, findAll, findAll, findOne

    从接口继承的方法 io.geewit.data.jpa.essential.repository.EntityGraphPagingAndSortingRepository

    findAll, findAll

    从接口继承的方法 io.geewit.data.jpa.envers.repository.EnversRevisionRepository

    findComparedRevisions, findRevisionByLastUpdateTime

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

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush

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

    count, findAll, findAll, findAll, findOne

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

    findAll

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

    count, exists, findAll, findOne

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

    findLastChangeRevision, findRevision, findRevisions, findRevisions
  • 方法详细资料

    • findByPath

      @Transactional(readOnly=true) List<Route> findByPath(String path)
      按Path查询路由
      参数:
      path - Path路由
      返回:
      Optional
    • findPathByRouteIds

      @Transactional(readOnly=true) @Query("select r.path from Route r where r.routeId in :routeIds") Set<String> findPathByRouteIds(@Param("routeIds") Collection<Long> routeIds)
    • countByHash

      @Transactional(readOnly=true) long countByHash(String hash)
      按hash值查看是否已存在相同的route
      参数:
      hash -
      返回: