Package ca.uhn.fhir.rest.server
Class BasePagingProvider
java.lang.Object
ca.uhn.fhir.rest.server.BasePagingProvider
- All Implemented Interfaces:
IPagingProvider
- Direct Known Subclasses:
FifoMemoryPagingProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
if no _count parameter is provided, use this for the page sizeint
if the _count parameter is larger than this value, reduce it to this valuesetDefaultPageSize
(int theDefaultPageSize) setMaximumPageSize
(int theMaximumPageSize) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ca.uhn.fhir.rest.server.IPagingProvider
canStoreSearchResults, retrieveResultList, retrieveResultList, storeResultList
-
Field Details
-
DEFAULT_DEFAULT_PAGE_SIZE
- See Also:
-
DEFAULT_MAX_PAGE_SIZE
- See Also:
-
-
Constructor Details
-
BasePagingProvider
public BasePagingProvider()
-
-
Method Details
-
getDefaultPageSize
Description copied from interface:IPagingProvider
if no _count parameter is provided, use this for the page size- Specified by:
getDefaultPageSize
in interfaceIPagingProvider
-
getMaximumPageSize
Description copied from interface:IPagingProvider
if the _count parameter is larger than this value, reduce it to this value- Specified by:
getMaximumPageSize
in interfaceIPagingProvider
-
setDefaultPageSize
-
setMaximumPageSize
-