接口 FastRepository<T,ID>

类型参数:
T -
ID -
所有超级接口:
org.springframework.data.repository.CrudRepository<T,ID>, DynamicRepository<T,ID>, org.springframework.data.jpa.repository.JpaRepository<T,ID>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>, org.springframework.data.repository.ListCrudRepository<T,ID>, org.springframework.data.repository.ListPagingAndSortingRepository<T,ID>, org.springframework.data.repository.PagingAndSortingRepository<T,ID>, org.springframework.data.repository.query.QueryByExampleExecutor<T>, org.springframework.data.repository.Repository<T,ID>

@NoRepositoryBean public interface FastRepository<T,ID> extends org.springframework.data.jpa.repository.JpaRepository<T,ID>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>, DynamicRepository<T,ID>
更强大的Repository对象
  • 方法概要

    修饰符和类型
    方法
    说明
    default org.springframework.data.domain.Page<T>
     
    default Class<T>
     
    default org.springframework.data.domain.Page<T>
     
    default org.springframework.data.domain.Page<T>
     

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

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

    从接口继承的方法 com.codingapi.springboot.fast.jpa.repository.DynamicRepository

    dynamicListQuery, dynamicListQuery, dynamicPageQuery, dynamicPageQuery, dynamicPageQuery, getEntityClass

    从接口继承的方法 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
  • 方法详细资料

    • findAll

      default org.springframework.data.domain.Page<T> findAll(PageRequest request)
    • getDomainClass

      default Class<T> getDomainClass()
    • pageRequest

      default org.springframework.data.domain.Page<T> pageRequest(PageRequest request)
    • searchRequest

      default org.springframework.data.domain.Page<T> searchRequest(SearchRequest request)