Interface BooksRepository
- All Superinterfaces:
BookRepositoryCustom, org.springframework.data.repository.CrudRepository<Book,String>, org.springframework.data.repository.ListCrudRepository<Book, String>, org.springframework.data.repository.ListPagingAndSortingRepository<Book, String>, org.springframework.data.mongodb.repository.MongoRepository<Book, String>, org.springframework.data.repository.PagingAndSortingRepository<Book, String>, org.springframework.data.repository.query.QueryByExampleExecutor<Book>, org.springframework.data.repository.Repository<Book, String>
public interface BooksRepository
extends org.springframework.data.mongodb.repository.MongoRepository<Book,String>, BookRepositoryCustom
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<Book> findByPublishedAfter(LocalDate date, org.springframework.data.domain.Pageable pageable) findByPublishedBetween(LocalDate starting, LocalDate ending) org.springframework.data.domain.Page<Book> findByPublishedBetween(LocalDate starting, LocalDate ending, org.springframework.data.domain.Pageable pageable) findByTitle(String title) findByTitleContaining(String string) findByTitleMatches(String string) findByTitleNot(String title) findByTitleNotContaining(String title) findByTitleNotMatches(String title) org.springframework.data.domain.Slice<Book> findByTitleNullAndPublishedAfter(LocalDate date, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Slice<Book> findByTitleStartingWith(String string, org.springframework.data.domain.Pageable pageable) findByTitleStartingWith(String string, org.springframework.data.domain.Sort sort) org.springframework.data.domain.Page<Book> findPageByTitleNullAndPublishedAfter(LocalDate date, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<Book> findPageByTitleStartingWith(String string, org.springframework.data.domain.Pageable pageable) getByTitle(String title) getTitlesGESizeAsBook(int length) Methods inherited from interface BookRepositoryCustom
findByAuthorGESize, findByTitleGESizeAsString, randomMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods 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.mongodb.repository.MongoRepository
findAll, findAll, insert, insertMethods 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
-
getByTitle
-
findByTitle
-
findByTitleNot
-
findByTitleContaining
-
findByTitleNotContaining
-
findByTitleMatches
-
findByTitleNotMatches
-
findByPublishedAfter
-
findByPublishedGreaterThanEqual
-
findByPublishedBetween
-
findByPublishedBetween
-
findByPublishedAfter
-
findByTitleNullAndPublishedAfter
-
findByTitleNullAndPublishedAfter
-
findPageByTitleNullAndPublishedAfter
-
getTitlesGESizeAsBook
-
findByTitleStartingWith
-
findByTitleStartingWith
-
findPageByTitleStartingWith
-