Package io.micronaut.data.runtime.query
Class DefaultPagedQueryResolver
java.lang.Object
io.micronaut.data.runtime.query.DefaultPagedQueryResolver
- All Implemented Interfaces:
PagedQueryResolver
Default paged query resolver.
- Since:
- 3.3
- Author:
- Denis Stepanov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<E> PagedQuery<E>
resolveQuery
(io.micronaut.aop.MethodInvocationContext<?, ?> context, Class<E> entityClass, Pageable pageable) Paged query resolved from the method context.
-
Constructor Details
-
DefaultPagedQueryResolver
public DefaultPagedQueryResolver()
-
-
Method Details
-
resolveQuery
public <E> PagedQuery<E> resolveQuery(io.micronaut.aop.MethodInvocationContext<?, ?> context, Class<E> entityClass, Pageable pageable) Description copied from interface:PagedQueryResolver
Paged query resolved from the method context.- Specified by:
resolveQuery
in interfacePagedQueryResolver
- Type Parameters:
E
- The entity type- Parameters:
context
- The method contextentityClass
- The entity classpageable
- The pageable- Returns:
- The paged query
-