
Package ca.uhn.fhir.jpa.dao
Interface ISearchBuilder<T extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId>
public interface ISearchBuilder<T extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateCountQuery
(SearchParameterMap theParams, String theSearchUuid, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, RequestPartitionId theRequestPartitionId) createQuery
(SearchParameterMap theParams, SearchRuntimeDetails theSearchRuntime, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, RequestPartitionId theRequestPartitionId) loadIncludes
(ca.uhn.fhir.context.FhirContext theContext, javax.persistence.EntityManager theEntityManager, Collection<T> theMatches, Collection<ca.uhn.fhir.model.api.Include> theRevIncludes, boolean theReverseMode, ca.uhn.fhir.rest.param.DateRangeParam theLastUpdated, String theSearchIdOrDescription, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, Integer theMaxCount) void
loadResourcesByPid
(Collection<T> thePids, Collection<T> theIncludedPids, List<org.hl7.fhir.instance.model.api.IBaseResource> theResourceListToPopulate, boolean theForHistoryOperation, ca.uhn.fhir.rest.api.server.RequestDetails theDetails) void
setFetchSize
(int theFetchSize) How many results may be fetched at oncevoid
setMaxResultsToFetch
(Integer theMaxResultsToFetch) void
setPreviouslyAddedResourcePids
(List<T> thePreviouslyAddedResourcePids)
-
Field Details
-
SEARCH_BUILDER_BEAN_NAME
- See Also:
-
-
Method Details
-
createQuery
IResultIterator createQuery(SearchParameterMap theParams, SearchRuntimeDetails theSearchRuntime, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, @Nonnull RequestPartitionId theRequestPartitionId) -
createCountQuery
Long createCountQuery(SearchParameterMap theParams, String theSearchUuid, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, RequestPartitionId theRequestPartitionId) -
setMaxResultsToFetch
-
loadResourcesByPid
void loadResourcesByPid(Collection<T> thePids, Collection<T> theIncludedPids, List<org.hl7.fhir.instance.model.api.IBaseResource> theResourceListToPopulate, boolean theForHistoryOperation, ca.uhn.fhir.rest.api.server.RequestDetails theDetails) -
loadIncludes
Set<T> loadIncludes(ca.uhn.fhir.context.FhirContext theContext, javax.persistence.EntityManager theEntityManager, Collection<T> theMatches, Collection<ca.uhn.fhir.model.api.Include> theRevIncludes, boolean theReverseMode, ca.uhn.fhir.rest.param.DateRangeParam theLastUpdated, String theSearchIdOrDescription, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, Integer theMaxCount) -
setFetchSize
How many results may be fetched at once -
setPreviouslyAddedResourcePids
-