org.keycloak.models.jpa

## Class PaginationUtils

- java.lang.Object
- - org.keycloak.models.jpa.PaginationUtils

-     public class PaginationUtils
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `DEFAULT_MAX_RESULTS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PaginationUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T> javax.persistence.TypedQuery<T>` | `paginateQuery(javax.persistence.TypedQuery<T> query, Integer first, Integer max)`

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

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

- - ### Field Detail

    - #### DEFAULT_MAX_RESULTS

          public static final int DEFAULT_MAX_RESULTS

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### PaginationUtils

          public PaginationUtils()

  - ### Method Detail

    - #### paginateQuery

          public static <T> javax.persistence.TypedQuery<T> paginateQuery(javax.persistence.TypedQuery<T> query,
                                                                          Integer first,
                                                                          Integer max)

Copyright © 2021 JBoss by Red Hat. All rights reserved.