Class DefaultPagedQuery<E>

java.lang.Object
io.micronaut.data.runtime.query.internal.DefaultPagedQuery<E>
Type Parameters:
E - The paged query
All Implemented Interfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.naming.Named, io.micronaut.data.model.runtime.PagedQuery<E>

@Internal public final class DefaultPagedQuery<E> extends Object implements io.micronaut.data.model.runtime.PagedQuery<E>
Default implementation of PagedQuery.
  • Field Summary

    Fields inherited from interface io.micronaut.core.annotation.AnnotationSource

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultPagedQuery(io.micronaut.inject.ExecutableMethod<?,?> method, @NonNull Class<E> rootEntity, io.micronaut.data.model.Pageable pageable)
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.annotation.AnnotationMetadata
     
    @NonNull String
     
    @NonNull io.micronaut.data.model.Pageable
     
    @NonNull Class<E>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider

    findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType

    Methods inherited from interface io.micronaut.core.annotation.AnnotationSource

    getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared

    Methods inherited from interface io.micronaut.data.model.runtime.PagedQuery

    getQueryHints
  • Constructor Details

    • DefaultPagedQuery

      public DefaultPagedQuery(io.micronaut.inject.ExecutableMethod<?,?> method, @NonNull @NonNull Class<E> rootEntity, io.micronaut.data.model.Pageable pageable)
      Default constructor.
      Parameters:
      method - The method
      rootEntity - The root entity
      pageable - The pageable
  • Method Details

    • getRootEntity

      @NonNull public @NonNull Class<E> getRootEntity()
      Specified by:
      getRootEntity in interface io.micronaut.data.model.runtime.PagedQuery<E>
    • getPageable

      @NonNull public @NonNull io.micronaut.data.model.Pageable getPageable()
      Specified by:
      getPageable in interface io.micronaut.data.model.runtime.PagedQuery<E>
    • getName

      @NonNull public @NonNull String getName()
      Specified by:
      getName in interface io.micronaut.core.naming.Named
    • getAnnotationMetadata

      public io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()
      Specified by:
      getAnnotationMetadata in interface io.micronaut.core.annotation.AnnotationMetadataProvider