Uses of Interface
com.ibm.fhir.search.context.FHIRSearchContext
-
-
Uses of FHIRSearchContext in com.ibm.fhir.persistence.context
Methods in com.ibm.fhir.persistence.context that return FHIRSearchContext Modifier and Type Method Description FHIRSearchContext
FHIRPersistenceContext. getSearchContext()
Returns the FHIRSearchContext instance associated with the current request.FHIRSearchContext
FHIRPersistenceEvent. getSearchContextImpl()
Returns the FHIRSearchContext instance currently being used by the FHIR REST API layer to process the current request.Methods in com.ibm.fhir.persistence.context with parameters of type FHIRSearchContext Modifier and Type Method Description static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, boolean includeDeleted, FHIRSearchContext searchContext)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, FHIRSearchContext searchContext)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent and a FHIRSearchContext. -
Uses of FHIRSearchContext in com.ibm.fhir.persistence.context.impl
Methods in com.ibm.fhir.persistence.context.impl that return FHIRSearchContext Modifier and Type Method Description FHIRSearchContext
FHIRPersistenceContextImpl. getSearchContext()
Methods in com.ibm.fhir.persistence.context.impl with parameters of type FHIRSearchContext Modifier and Type Method Description FHIRPersistenceContextImpl.Builder
FHIRPersistenceContextImpl.Builder. withSearchContext(FHIRSearchContext searchContext)
Build with the given searchContext -
Uses of FHIRSearchContext in com.ibm.fhir.persistence.jdbc.util
Methods in com.ibm.fhir.persistence.jdbc.util with parameters of type FHIRSearchContext Modifier and Type Method Description Select
NewQueryBuilder. buildCountQuery(java.lang.Class<?> resourceType, FHIRSearchContext searchContext)
Builds a query that returns the count of the search results that would be found by applying the search parameters contained within the passed search context.Select
NewQueryBuilder. buildIncludeQuery(java.lang.Class<?> resourceType, FHIRSearchContext searchContext, InclusionParameter inclusionParm, java.util.List<java.lang.Long> logicalResourceIds, java.lang.String inclusionType)
Builds a query that returns included resources.Select
NewQueryBuilder. buildQuery(java.lang.Class<?> resourceType, FHIRSearchContext searchContext)
Construct a FHIR search querySelect
NewQueryBuilder. buildWholeSystemDataQuery(FHIRSearchContext searchContext, java.util.Map<java.lang.Integer,java.util.List<java.lang.Long>> resourceTypeIdToLogicalResourceIdMap)
Builds a query that returns resource data for the specified whole-system search. -
Uses of FHIRSearchContext in com.ibm.fhir.persistence.util
Methods in com.ibm.fhir.persistence.util with parameters of type FHIRSearchContext Modifier and Type Method Description T
QueryBuilder. buildQuery(java.lang.Class<?> resourceType, FHIRSearchContext searchContext)
Deprecated.Build and return query for the passed resource type and search parameters. -
Uses of FHIRSearchContext in com.ibm.fhir.search.context
Methods in com.ibm.fhir.search.context that return FHIRSearchContext Modifier and Type Method Description static FHIRSearchContext
FHIRSearchContextFactory. createSearchContext()
Returns a new instance of the FHIRSearchContext interface. -
Uses of FHIRSearchContext in com.ibm.fhir.search.context.impl
Classes in com.ibm.fhir.search.context.impl that implement FHIRSearchContext Modifier and Type Class Description class
FHIRSearchContextImpl
Implementation ofFHIRSearchContext
-
Uses of FHIRSearchContext in com.ibm.fhir.search.sort
Methods in com.ibm.fhir.search.sort with parameters of type FHIRSearchContext Modifier and Type Method Description void
Sort. checkIfUndefined(java.lang.String resourceTypeName, java.lang.String sortParmCode, SearchParameter sortParmProxy, FHIRSearchContext context)
Checks to see if undefined as a SearchParameter.void
Sort. checkSystemLevel(java.lang.String resourceTypeName, java.lang.String code, FHIRSearchContext context)
Check system level searches with DESC/ASC are ONLY with _id and _lastUpdated.void
Sort. parseSortParameter(java.lang.Class<?> resourceType, FHIRSearchContext context, java.lang.String sortParmValue, SearchHelper searchHelper)
Parses the _sort parameter.void
Sort. parseSortParameter(java.lang.String resourceTypeName, FHIRSearchContext context, java.lang.String sortParmValue, SearchHelper searchHelper)
Parses the _sort parameter. -
Uses of FHIRSearchContext in com.ibm.fhir.search.uri
Methods in com.ibm.fhir.search.uri with parameters of type FHIRSearchContext Modifier and Type Method Description UriBuilder
UriBuilder. context(FHIRSearchContext context)
adds the context inline. -
Uses of FHIRSearchContext in com.ibm.fhir.search.util
Methods in com.ibm.fhir.search.util that return FHIRSearchContext Modifier and Type Method Description FHIRSearchContext
SearchHelper. parseCompartmentQueryParameters(java.lang.String compartmentName, java.lang.String compartmentLogicalId, java.lang.Class<?> resourceType, java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters)
FHIRSearchContext
SearchHelper. parseCompartmentQueryParameters(java.lang.String compartmentName, java.lang.String compartmentLogicalId, java.lang.Class<?> resourceType, java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters, boolean lenient, boolean includeResource)
FHIRSearchContext
SearchHelper. parseQueryParameters(java.lang.Class<?> resourceType, java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters)
FHIRSearchContext
SearchHelper. parseQueryParameters(java.lang.Class<?> resourceType, java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters, boolean lenient, boolean includeResource)
FHIRSearchContext
SearchHelper. parseReadQueryParameters(java.lang.Class<?> resourceType, java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters, java.lang.String interaction, boolean lenient)
Parse query parameters for read and vread.Methods in com.ibm.fhir.search.util with parameters of type FHIRSearchContext Modifier and Type Method Description static java.lang.String
SearchHelper. buildSearchSelfUri(java.lang.String requestUriString, FHIRSearchContext context)
Build the self link from the search parameters actually used by the serverstatic void
SearchHelper. checkInclusionIterateParameters(java.lang.String resourceType, FHIRSearchContext context, boolean lenient)
Check if _include or _revinclude parameters with the :iterate modifier reference invalid resource types.static boolean
SearchHelper. isCompartmentSearch(FHIRSearchContext searchContext)
Inspect the searchContext to see if the parameters define a compartment-based search. -
Uses of FHIRSearchContext in com.ibm.fhir.server.spi.operation
Methods in com.ibm.fhir.server.spi.operation with parameters of type FHIRSearchContext Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
FHIRResourceHelpers. buildPersistenceEventProperties(java.lang.String type, java.lang.String id, java.lang.String version, FHIRSearchContext searchContext, FHIRSystemHistoryContext systemHistoryContext)
Builds a collection of properties that will be passed to the persistence interceptors. -
Uses of FHIRSearchContext in com.ibm.fhir.server.util
Methods in com.ibm.fhir.server.util with parameters of type FHIRSearchContext Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
FHIRRestHelper. buildPersistenceEventProperties(java.lang.String type, java.lang.String id, java.lang.String version, FHIRSearchContext searchContext, FHIRSystemHistoryContext systemHistoryContext)
(package private) Bundle
FHIRRestHelper. createSearchResponseBundle(java.util.List<ResourceResult<? extends Resource>> resourceResults, FHIRSearchContext searchContext, java.lang.String type)
Creates a bundle that will hold results for a search operation.
-