Serialized Form

  • Package org.miaixz.bus.pager

    • Class org.miaixz.bus.pager.Page

      class Page extends ArrayList<E> implements Serializable
      serialVersionUID:
      -1L
      • Serialized Fields

        • asyncCount
          Boolean asyncCount
          异步count查询
        • boundSqlHandler
          BoundSqlHandler boundSqlHandler
          sql拦截处理
        • count
          boolean count
          包含count查询
        • countColumn
          String countColumn
          进行count查询的列名
        • dialectClass
          String dialectClass
          分页实现类,可以使用 PageAutoDialect 类中注册的别名,例如 "mysql", "oracle"
        • endRow
          long endRow
          末行
        • keepOrderBy
          Boolean keepOrderBy
          转换count查询时保留查询的 order by 排序
        • keepSubSelectOrderBy
          Boolean keepSubSelectOrderBy
          转换count查询时保留子查询的 order by 排序
        • orderBy
          String orderBy
          排序
        • orderByOnly
          boolean orderByOnly
          只增加排序
        • pageNo
          int pageNo
          页码,从1开始
        • pages
          int pages
          总页数
        • pageSize
          int pageSize
          页面大小
        • pageSizeZero
          Boolean pageSizeZero
          当设置为true的时候,如果pagesize设置为0(或RowBounds的limit=0),就不执行分页,返回全部结果
        • reasonable
          Boolean reasonable
          分页合理化
        • stackTrace
          String stackTrace
          记录当前堆栈,可查找到page在何处创建 需开启page.debug
        • startRow
          long startRow
          起始行
        • total
          long total
          总数
    • Class org.miaixz.bus.pager.Paginating

      class Paginating extends Serialize<T> implements Serializable
      • Serialized Fields

        • endRow
          long endRow
          当前页面最后一个元素在数据库中的行号
        • hasNextPage
          boolean hasNextPage
          是否有下一页
        • hasPreviousPage
          boolean hasPreviousPage
          是否有前一页
        • isFirstPage
          boolean isFirstPage
          是否为第一页
        • isLastPage
          boolean isLastPage
          是否为最后一页
        • navigateFirstPage
          int navigateFirstPage
          导航条上的第一页
        • navigateLastPage
          int navigateLastPage
          导航条上的最后一页
        • navigatepageNo
          int[] navigatepageNo
          所有导航页号
        • navigatePages
          int navigatePages
          导航页码数
        • nextPage
          int nextPage
          下一页
        • pageNo
          int pageNo
          当前页
        • pages
          int pages
          总页数
        • pageSize
          int pageSize
          每页的数量
        • prePage
          int prePage
          前一页
        • size
          int size
          当前页的数量
        • startRow
          long startRow
          由于startRow和endRow不常用,这里说个具体的用法 可以在页面中"显示startRow到endRow 共size条数据" 当前页面第一个元素在数据库中的行号
    • Class org.miaixz.bus.pager.Serialize

      class Serialize extends Object implements Serializable
      serialVersionUID:
      -1L
      • Serialized Fields

        • list
          List<T> list
          结果集
        • total
          long total
          总记录数