Package ca.uhn.fhir.jpa.interceptor
Class ForceOffsetSearchModeInterceptor
java.lang.Object
ca.uhn.fhir.jpa.interceptor.ForceOffsetSearchModeInterceptor
This interceptor for the HAPI FHIR JPA server forces all queries to
be performed as offset queries. This means that the query cache will
not be used and searches will never result in any writes to the
database.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDefaultCount
(Integer theDefaultCount) void
storagePreSearchRegistered
(SearchParameterMap theMap, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
-
Field Details
-
DEFAULT_DEFAULT_COUNT
Default value forsetDefaultCount(Integer)
- See Also:
-
-
Constructor Details
-
ForceOffsetSearchModeInterceptor
public ForceOffsetSearchModeInterceptor()
-
-
Method Details
-
setDefaultCount
-
storagePreSearchRegistered
public void storagePreSearchRegistered(SearchParameterMap theMap, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
-