Package cz.encircled.joiner.spring
Class PageableFeature
java.lang.Object
cz.encircled.joiner.spring.PageableFeature
- All Implemented Interfaces:
QueryFeature
This feature allows applying spring
Pageable criteria (limit, offset, sort) to the query- Author:
- Kisel on 29.10.2016.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,R> jakarta.persistence.Query after(JoinerQuery<T, R> request, jakarta.persistence.Query query) <T,R> JoinerQuery<T, R> before(JoinerQuery<T, R> joinerQuery) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.encircled.joiner.query.QueryFeature
postLoad
-
Constructor Details
-
PageableFeature
public PageableFeature(org.springframework.data.domain.Pageable pageable)
-
-
Method Details
-
before
- Specified by:
beforein interfaceQueryFeature
-
after
public <T,R> jakarta.persistence.Query after(JoinerQuery<T, R> request, jakarta.persistence.Query query) - Specified by:
afterin interfaceQueryFeature
-