Class DefaultPagedQueryResolver

java.lang.Object
io.micronaut.data.runtime.query.DefaultPagedQueryResolver
All Implemented Interfaces:
PagedQueryResolver

@Internal public class DefaultPagedQueryResolver extends Object implements PagedQueryResolver
Default paged query resolver.
Since:
3.3
Author:
Denis Stepanov
  • 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 interface PagedQueryResolver
      Type Parameters:
      E - The entity type
      Parameters:
      context - The method context
      entityClass - The entity class
      pageable - The pageable
      Returns:
      The paged query