Class PaginationImplementor
- java.lang.Object
-
- io.quarkus.rest.data.panache.deployment.utils.PaginationImplementor
-
public final class PaginationImplementor extends Object
Pagination logic implementor utilities.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_PAGE_INDEXstatic intDEFAULT_PAGE_SIZE
-
Constructor Summary
Constructors Constructor Description PaginationImplementor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.quarkus.gizmo.ResultHandlegetLinks(io.quarkus.gizmo.BytecodeCreator creator, io.quarkus.gizmo.ResultHandle uriInfo, io.quarkus.gizmo.ResultHandle page, io.quarkus.gizmo.ResultHandle pageCount)Return an array with the links applicable for the provided page and page count.io.quarkus.gizmo.ResultHandlegetPage(io.quarkus.gizmo.BytecodeCreator creator, io.quarkus.gizmo.ResultHandle index, io.quarkus.gizmo.ResultHandle size)Get aPageinstance give an index and size.
-
-
-
Field Detail
-
DEFAULT_PAGE_INDEX
public static final int DEFAULT_PAGE_INDEX
- See Also:
- Constant Field Values
-
DEFAULT_PAGE_SIZE
public static final int DEFAULT_PAGE_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPage
public io.quarkus.gizmo.ResultHandle getPage(io.quarkus.gizmo.BytecodeCreator creator, io.quarkus.gizmo.ResultHandle index, io.quarkus.gizmo.ResultHandle size)Get aPageinstance give an index and size.
-
getLinks
public io.quarkus.gizmo.ResultHandle getLinks(io.quarkus.gizmo.BytecodeCreator creator, io.quarkus.gizmo.ResultHandle uriInfo, io.quarkus.gizmo.ResultHandle page, io.quarkus.gizmo.ResultHandle pageCount)Return an array with the links applicable for the provided page and page count.
-
-