
Package ca.uhn.fhir.jpa.api.svc
Interface IBatch2DaoSvc
public interface IBatch2DaoSvc
-
Method Summary
Modifier and TypeMethodDescriptionfetchResourceIdsPage
(Date theStart, Date theEnd, Integer thePageSize, RequestPartitionId theRequestPartitionId, String theUrl) Fetches a page of resource IDs for all resource types.boolean
Indicates whether reindexing all resource types is supported.
-
Method Details
-
isAllResourceTypeSupported
boolean isAllResourceTypeSupported()Indicates whether reindexing all resource types is supported. Implementations are expected to provide a static response (either they support this or they don't). -
fetchResourceIdsPage
IResourcePidList fetchResourceIdsPage(Date theStart, Date theEnd, @Nonnull Integer thePageSize, @Nullable RequestPartitionId theRequestPartitionId, @Nullable String theUrl) Fetches a page of resource IDs for all resource types. The page size is up to the discretion of the implementation.- Parameters:
theStart
- The start of the date range, must be inclusive.theEnd
- The end of the date range, should be exclusive.thePageSize
- The number of records to query in each pass.theRequestPartitionId
- The request partition ID (may benull
on nonpartitioned systems)theUrl
- The search URL, ornull
to return IDs for all resources across all resource types. Null will only be supplied ifisAllResourceTypeSupported()
returnstrue
.
-