Class ReadOnlySearchParamCache
java.lang.Object
ca.uhn.fhir.jpa.searchparam.registry.ReadOnlySearchParamCache
- Direct Known Subclasses:
RuntimeSearchParamCache
-
Field Summary
Modifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ReadOnlySearchParamCache
fromFhirContext
(ca.uhn.fhir.context.FhirContext theFhirContext, SearchParameterCanonicalizer theCanonicalizer) static ReadOnlySearchParamCache
fromFhirContext
(ca.uhn.fhir.context.FhirContext theFhirContext, SearchParameterCanonicalizer theCanonicalizer, Set<String> theSearchParamPatternsToInclude) static ReadOnlySearchParamCache
fromRuntimeSearchParamCache
(RuntimeSearchParamCache theRuntimeSearchParamCache) ca.uhn.fhir.context.RuntimeSearchParam
protected ca.uhn.fhir.rest.server.util.ResourceSearchParams
getSearchParamMap
(String theResourceName) Stream
<ca.uhn.fhir.context.RuntimeSearchParam> static boolean
searchParamMatchesAtLeastOnePattern
(Set<String> theSearchParamPatterns, String theResourceType, String theSearchParamName) int
size()
-
Field Details
-
myResourceNameToSpNameToSp
protected final Map<String,ca.uhn.fhir.rest.server.util.ResourceSearchParams> myResourceNameToSpNameToSp -
myUrlToParam
-
-
Method Details
-
getSearchParamStream
-
getSearchParamMap
protected ca.uhn.fhir.rest.server.util.ResourceSearchParams getSearchParamMap(String theResourceName) -
size
-
getByUrl
-
fromFhirContext
public static ReadOnlySearchParamCache fromFhirContext(@Nonnull ca.uhn.fhir.context.FhirContext theFhirContext, @Nonnull SearchParameterCanonicalizer theCanonicalizer) -
fromFhirContext
public static ReadOnlySearchParamCache fromFhirContext(@Nonnull ca.uhn.fhir.context.FhirContext theFhirContext, @Nonnull SearchParameterCanonicalizer theCanonicalizer, @Nullable Set<String> theSearchParamPatternsToInclude) -
searchParamMatchesAtLeastOnePattern
public static boolean searchParamMatchesAtLeastOnePattern(Set<String> theSearchParamPatterns, String theResourceType, String theSearchParamName) -
fromRuntimeSearchParamCache
public static ReadOnlySearchParamCache fromRuntimeSearchParamCache(RuntimeSearchParamCache theRuntimeSearchParamCache)
-