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 java.lang.Object implements io.micronaut.data.model.runtime.PagedQuery<E>Default implementation ofPagedQuery.
-
-
Constructor Summary
Constructors Constructor Description DefaultPagedQuery(io.micronaut.inject.ExecutableMethod<?,?> method, java.lang.Class<E> rootEntity, io.micronaut.data.model.Pageable pageable)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.micronaut.core.annotation.AnnotationMetadatagetAnnotationMetadata()java.lang.StringgetName()io.micronaut.data.model.PageablegetPageable()java.lang.Class<E>getRootEntity()-
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, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
-
-
-
-
Constructor Detail
-
DefaultPagedQuery
public DefaultPagedQuery(io.micronaut.inject.ExecutableMethod<?,?> method, @NonNull java.lang.Class<E> rootEntity, io.micronaut.data.model.Pageable pageable)Default constructor.- Parameters:
method- The methodrootEntity- The root entitypageable- The pageable
-
-
Method Detail
-
getRootEntity
@NonNull public java.lang.Class<E> getRootEntity()
- Specified by:
getRootEntityin interfaceio.micronaut.data.model.runtime.PagedQuery<E>
-
getPageable
@NonNull public io.micronaut.data.model.Pageable getPageable()
- Specified by:
getPageablein interfaceio.micronaut.data.model.runtime.PagedQuery<E>
-
getName
@NonNull public java.lang.String getName()
- Specified by:
getNamein interfaceio.micronaut.core.naming.Named
-
getAnnotationMetadata
public io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()
- Specified by:
getAnnotationMetadatain interfaceio.micronaut.core.annotation.AnnotationMetadataProvider
-
-