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 final int
     
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    io.quarkus.gizmo.ResultHandle
    getPage(io.quarkus.gizmo.BytecodeCreator creator, io.quarkus.gizmo.ResultHandle index, io.quarkus.gizmo.ResultHandle size)
    Get a Page instance give an index and size.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PaginationImplementor

      public PaginationImplementor()
  • Method Details

    • getPage

      public io.quarkus.gizmo.ResultHandle getPage(io.quarkus.gizmo.BytecodeCreator creator, io.quarkus.gizmo.ResultHandle index, io.quarkus.gizmo.ResultHandle size)
      Get a Page instance 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.