Interface AsyncBookRepository
- All Superinterfaces:
AsyncCrudRepository<Book,,com.tangosol.util.UUID> GenericRepository<Book,com.tangosol.util.UUID>
@CoherenceRepository("book")
public interface AsyncBookRepository
extends AsyncCrudRepository<Book,com.tangosol.util.UUID>
A
Book Repository to test queries generated by Micronaut.-
Method Summary
Modifier and TypeMethodDescriptioncountDistinctTitleByPagesGreaterThan(int pageCount) countTitleByPagesGreaterThan(int pageCount) deleteByTitleStartingWith(String title) existsByAuthor(Author author) findAvgPagesByAuthor(Author author) findByAuthor(Author author) findByPagesGreaterThan(int pageCount) findByPagesGreaterThanEquals(int pages) findByPagesLessThan(int pageCount) findByPagesLessThanEquals(int pageCount) findByPublicationYearAfter(int year) findByPublicationYearBefore(int year) findByPublicationYearBetween(int startYear, int endYear) findByTitleContains(String keyword) findByTitleEndingWith(String keyword) findByTitleIn(Collection<String> titles) findByTitleLike(String like) findByTitleStartingWith(String keyword) findDistinctTitleByPagesGreaterThan(int pageCount) findMaxPagesByAuthor(Author author) findMinPagesByAuthor(Author author) findSumPagesByAuthor(Author author) saveBooks(Collection<Book> books) update(com.tangosol.util.UUID id, int pages) updateByTitleStartingWith(String title, int pages) Methods inherited from interface io.micronaut.data.repository.async.AsyncCrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findById, save, saveAll, update, updateAll
-
Method Details
-
existsByAuthor
-
findByAuthor
-
findByPagesGreaterThanEquals
-
findByPagesLessThanEquals
-
findByTitleLike
-
findByPagesGreaterThan
-
findByPagesLessThan
-
findByPublicationYearAfter
-
findByPublicationYearBefore
-
findByTitleContains
-
findByTitleStartingWith
-
findByTitleEndingWith
-
findByTitleIn
-
findByPublicationYearBetween
-
findByAuthorIsNull
CompletableFuture<List<Book>> findByAuthorIsNull() -
findByAuthorIsNotNull
CompletableFuture<List<Book>> findByAuthorIsNotNull() -
countTitleByPagesGreaterThan
-
countDistinctTitleByPagesGreaterThan
-
findDistinctTitleByPagesGreaterThan
-
findMaxPagesByAuthor
-
findMinPagesByAuthor
-
findSumPagesByAuthor
-
findAvgPagesByAuthor
-
update
-
updateByTitleStartingWith
-
deleteByTitleStartingWith
-
saveBooks
-