Interface PagedQuery<E>
- Type Parameters:
E- The entity type
- All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.naming.Named
- All Known Subinterfaces:
BindableParametersPreparedQuery<E,R>, DelegatePreparedQuery<E, R>, MongoPreparedQuery<E, R>, PreparedQuery<E, R>, SqlPreparedQuery<E, R>
- All Known Implementing Classes:
DefaultBindableParametersPreparedQuery, DefaultPagedQuery, DefaultPreparedQuery, DefaultSqlPreparedQuery, DummyPreparedQuery
public interface PagedQuery<E>
extends io.micronaut.core.naming.Named, io.micronaut.core.annotation.AnnotationMetadataProvider
Object passed to queries for pagination requests.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY -
Method Summary
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, 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.core.naming.Named
getName
-
Method Details
-
getRootEntity
-
getPageable
Pageable getPageable()- Returns:
- The pageable object. Defaults to
Pageable.UNPAGED
-
getQueryLimit
- Returns:
- The limit
- Since:
- 4.13
-
getSort
- Returns:
- The sort
- Since:
- 4.13
-
getQueryHints
-