Interface JpaApiRepository<T extends JpaApiIdentifiable>
- Type Parameters:
T-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<T,,Long> GenericJPARepository<T,,Long> JpaRepository<T>,org.springframework.data.jpa.repository.JpaRepository<T,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>,org.springframework.data.repository.ListCrudRepository<T,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<T,,Long> org.springframework.data.repository.PagingAndSortingRepository<T,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<T>,org.springframework.data.repository.Repository<T,Long>
A more specific default repository that includes looking up entities by API id
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<T>findAllByLastModifiedDateAfter(LocalDateTime date, org.springframework.data.domain.Pageable page) org.springframework.data.domain.Page<T>findAllByLastModifiedDateBetween(LocalDateTime start, LocalDateTime end, org.springframework.data.domain.Pageable page) findByApiId(UUID apiId) findByApiIdIn(Collection<UUID> apiIds) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findBy, findOneMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByApiId
-
findByApiIdIn
-
streamAllByOrderByCreationDate
-
streamAllByLastModifiedDateAfterOrderByCreationDate
@QueryHints({@QueryHint(name="org.hibernate.fetchSize",value="1"),,}) Stream<T> streamAllByLastModifiedDateAfterOrderByCreationDate(LocalDateTime date) -
streamAllByLastModifiedDateBetweenOrderByCreationDate
@QueryHints({@QueryHint(name="org.hibernate.fetchSize",value="1"),,}) Stream<T> streamAllByLastModifiedDateBetweenOrderByCreationDate(LocalDateTime start, LocalDateTime end) -
findAllByLastModifiedDateAfter
org.springframework.data.domain.Page<T> findAllByLastModifiedDateAfter(LocalDateTime date, org.springframework.data.domain.Pageable page) -
findAllByLastModifiedDateBetween
org.springframework.data.domain.Page<T> findAllByLastModifiedDateBetween(LocalDateTime start, LocalDateTime end, org.springframework.data.domain.Pageable page)
-