org.apache.solr.response

## Class PageTool

- java.lang.Object
- - org.apache.solr.response.PageTool

-     public class PageTool
      extends Object

  This class is used by the Velocity response writer to provide a consistent paging tool for use by templates. TODO: add more details

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PageTool(SolrQueryRequest request, SolrQueryResponse response)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getCurrent_page_number()`
    `int` | `getPage_count()`
    `long` | `getResults_found()`
    `int` | `getResults_per_page()`
    `long` | `getStart()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### PageTool

          public PageTool(SolrQueryRequest request,
                          SolrQueryResponse response)

  - ### Method Detail

    - #### getStart

          public long getStart()

    - #### getResults_per_page

          public int getResults_per_page()

    - #### getResults_found

          public long getResults_found()

    - #### getPage_count

          public int getPage_count()

    - #### getCurrent_page_number

          public int getCurrent_page_number()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.