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.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()
Constructors in com.ibm.fhir.persistence.context.impl with parameters of type FHIRSearchContext Constructor Description FHIRPersistenceContextImpl(FHIRPersistenceEvent pe, boolean includeDeleted, FHIRSearchContext sc)
FHIRPersistenceContextImpl(FHIRPersistenceEvent pe, FHIRSearchContext sc)
-
Uses of FHIRSearchContext in com.ibm.fhir.persistence.interceptor
Methods in com.ibm.fhir.persistence.interceptor that return FHIRSearchContext Modifier and Type Method Description FHIRSearchContext
FHIRPersistenceEvent. getSearchContextImpl()
Returns the FHIRSearchContext instance currently being used by the FHIR REST API layer to process the current request. -
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 SqlQueryData
JDBCQueryBuilder. buildCountQuery(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. buildCountQuery(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.SqlQueryData
JDBCQueryBuilder. buildIncludeQuery(Class<?> resourceType, FHIRSearchContext searchContext, InclusionParameter inclusionParm, Set<String> ids, String inclusionType)
Builds a query that returns included resources.Select
NewQueryBuilder. buildIncludeQuery(Class<?> resourceType, FHIRSearchContext searchContext, InclusionParameter inclusionParm, List<Long> logicalResourceIds, String inclusionType)
Builds a query that returns included resources.SqlQueryData
JDBCQueryBuilder. buildQuery(Class<?> resourceType, FHIRSearchContext searchContext)
Select
NewQueryBuilder. buildQuery(Class<?> resourceType, FHIRSearchContext searchContext)
Construct a FHIR search querystatic QuerySegmentAggregator
QuerySegmentAggregatorFactory. buildQuerySegmentAggregator(Class<?> resourceType, int offset, int pageSize, ParameterDAO parameterDao, ResourceDAO resourceDao, FHIRSearchContext searchContext, boolean includeQuery, QueryHints queryHints, JDBCIdentityCache identityCache)
Instantiates and returns a QuerySegmentAggregator instance based on the passed parameters. -
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(Class<?> resourceType, FHIRSearchContext searchContext)
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
-
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(String resourceTypeName, String sortParmCode, SearchParameter sortParmProxy, FHIRSearchContext context)
Checks to see if undefined as a SearchParameter.void
Sort. checkSystemLevel(String resourceTypeName, String code, FHIRSearchContext context)
Check system level searches with DESC/ASC are ONLY with _id and _lastUpdated.void
Sort. parseSortParameter(Class<?> resourceType, FHIRSearchContext context, String sortParmValue)
Parses the _sort parameter.void
Sort. parseSortParameter(String resourceTypeName, FHIRSearchContext context, String sortParmValue)
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 static FHIRSearchContext
SearchUtil. parseCompartmentQueryParameters(String compartmentName, String compartmentLogicalId, Class<?> resourceType, Map<String,List<String>> queryParameters)
static FHIRSearchContext
SearchUtil. parseCompartmentQueryParameters(String compartmentName, String compartmentLogicalId, Class<?> resourceType, Map<String,List<String>> queryParameters, boolean lenient)
static FHIRSearchContext
SearchUtil. parseQueryParameters(Class<?> resourceType, Map<String,List<String>> queryParameters)
static FHIRSearchContext
SearchUtil. parseQueryParameters(Class<?> resourceType, Map<String,List<String>> queryParameters, boolean lenient)
static FHIRSearchContext
SearchUtil. parseReadQueryParameters(Class<?> resourceType, Map<String,List<String>> queryParameters, 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 String
SearchUtil. buildSearchSelfUri(String requestUriString, FHIRSearchContext context)
Build the self link from the search parameters actually used by the serverstatic void
SearchUtil. checkInclusionIterateParameters(String resourceType, FHIRSearchContext context, boolean lenient)
Check if _include or _revinclude parameters with the :iterate modifier reference invalid resource types.static boolean
SearchUtil. isCompartmentSearch(FHIRSearchContext searchContext)
Inspect the searchContext to see if the parameters define a compartment-based search. -
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 (package private) Bundle
FHIRRestHelper. createSearchBundle(List<Resource> resources, FHIRSearchContext searchContext, String type)
Creates a bundle that will hold results for a search operation.
-