接口 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>
-
方法概要
修饰符和类型方法说明longcountByHash(String hash) 按hash值查看是否已存在相同的routefindByPath(String path) 按Path查询路由findPathByRouteIds(Collection<Long> routeIds) 从接口继承的方法 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
按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
按hash值查看是否已存在相同的route- 参数:
hash-- 返回:
-