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,PagedQuery<E>
Default implementation of
PagedQuery.-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionDefaultPagedQuery(io.micronaut.inject.ExecutableMethod<?, ?> method, @NonNull Class<E> rootEntity, Pageable pageable) Default constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface io.micronaut.data.model.runtime.PagedQuery
getQueryHints
-
Constructor Details
-
Method Details
-
getRootEntity
Description copied from interface:PagedQueryThe root entity type.- Specified by:
getRootEntityin interfacePagedQuery<E>- Returns:
- The root entity type
-
getPageable
- Specified by:
getPageablein interfacePagedQuery<E>- Returns:
- The pageable object. Defaults to
Pageable.UNPAGED
-
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
-