public class PageSpecification
class PageSpecification allows specification of a page number (starting from DEFAULT_PAGE_NUM) and page size
(defaulting to DEFAULT_PAGE_SIZE with a maximum page size of MAX_PAGE_SIZE)
Note: we default the page number to DEFAULT_PAGE_SIZE to enable queries without requiring a page specification
but enabling detection of large results sets that fall out of the DEFAULT_PAGE_SIZE requirement.
MAX_PAGE_SIZE should be used with extreme caution as results may exceed your JVM memory footprint.
class PageSpecificationpublic PageSpecification(int pageNumber,
int pageSize)
class PageSpecification allows specification of a page number (starting from DEFAULT_PAGE_NUM) and page size
(defaulting to DEFAULT_PAGE_SIZE with a maximum page size of MAX_PAGE_SIZE)
Note: we default the page number to DEFAULT_PAGE_SIZE to enable queries without requiring a page specification
but enabling detection of large results sets that fall out of the DEFAULT_PAGE_SIZE requirement.
MAX_PAGE_SIZE should be used with extreme caution as results may exceed your JVM memory footprint.
class PageSpecificationpublic PageSpecification()
class PageSpecification allows specification of a page number (starting from DEFAULT_PAGE_NUM) and page size
(defaulting to DEFAULT_PAGE_SIZE with a maximum page size of MAX_PAGE_SIZE)
Note: we default the page number to DEFAULT_PAGE_SIZE to enable queries without requiring a page specification
but enabling detection of large results sets that fall out of the DEFAULT_PAGE_SIZE requirement.
MAX_PAGE_SIZE should be used with extreme caution as results may exceed your JVM memory footprint.
class PageSpecificationpublic boolean isDefault()
public int getPageNumber()
public int getPageSize()
public int component1()
public int component2()
@NotNull public PageSpecification copy(int pageNumber, int pageSize)
class PageSpecification allows specification of a page number (starting from DEFAULT_PAGE_NUM) and page size
(defaulting to DEFAULT_PAGE_SIZE with a maximum page size of MAX_PAGE_SIZE)
Note: we default the page number to DEFAULT_PAGE_SIZE to enable queries without requiring a page specification
but enabling detection of large results sets that fall out of the DEFAULT_PAGE_SIZE requirement.
MAX_PAGE_SIZE should be used with extreme caution as results may exceed your JVM memory footprint.
class PageSpecification@NotNull public java.lang.String toString()
class PageSpecification allows specification of a page number (starting from DEFAULT_PAGE_NUM) and page size
(defaulting to DEFAULT_PAGE_SIZE with a maximum page size of MAX_PAGE_SIZE)
Note: we default the page number to DEFAULT_PAGE_SIZE to enable queries without requiring a page specification
but enabling detection of large results sets that fall out of the DEFAULT_PAGE_SIZE requirement.
MAX_PAGE_SIZE should be used with extreme caution as results may exceed your JVM memory footprint.
class PageSpecificationpublic int hashCode()
class PageSpecification allows specification of a page number (starting from DEFAULT_PAGE_NUM) and page size
(defaulting to DEFAULT_PAGE_SIZE with a maximum page size of MAX_PAGE_SIZE)
Note: we default the page number to DEFAULT_PAGE_SIZE to enable queries without requiring a page specification
but enabling detection of large results sets that fall out of the DEFAULT_PAGE_SIZE requirement.
MAX_PAGE_SIZE should be used with extreme caution as results may exceed your JVM memory footprint.
class PageSpecificationpublic boolean equals(@Nullable
java.lang.Object p)
class PageSpecification allows specification of a page number (starting from DEFAULT_PAGE_NUM) and page size
(defaulting to DEFAULT_PAGE_SIZE with a maximum page size of MAX_PAGE_SIZE)
Note: we default the page number to DEFAULT_PAGE_SIZE to enable queries without requiring a page specification
but enabling detection of large results sets that fall out of the DEFAULT_PAGE_SIZE requirement.
MAX_PAGE_SIZE should be used with extreme caution as results may exceed your JVM memory footprint.
class PageSpecification