Uses of Class
com.ibm.fhir.persistence.exception.FHIRPersistenceException
-
-
Uses of FHIRPersistenceException in com.ibm.fhir.persistence
Methods in com.ibm.fhir.persistence that throw FHIRPersistenceException Modifier and Type Method Description void
FHIRPersistenceTransaction. begin()
Begin a new transaction on the current thread if a transaction is not started yet.List<ResourceChangeLogRecord>
FHIRPersistence. changes(int resourceCount, Instant fromLastModified, Long afterResourceId, String resourceTypeName)
Fetch up to resourceCount records from the RESOURCE_CHANGE_LOG table<T extends Resource>
SingleResourceResult<T>FHIRPersistence. createWithMeta(FHIRPersistenceContext context, T resource)
Stores a new FHIR Resource in the datastore.default <T extends Resource>
SingleResourceResult<T>FHIRPersistence. delete(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
Deletes the specified FHIR Resource from the datastore.void
FHIRPersistenceTransaction. end()
End the current thread's transaction.default ResourceEraseRecord
FHIRPersistence. erase(EraseDTO eraseDto)
Erases part or a whole of a resource in the data layerResourcePayload
FHIRPersistence. fetchResourcePayloads(Class<? extends Resource> resourceType, Instant fromLastModified, Instant toLastModified, Function<ResourcePayload,Boolean> process)
Special function for high speed export of resource payloads.OperationOutcome
FHIRPersistence. getHealth()
Returns an OperationOutcome indicating the current status of the persistence store / backendFHIRPersistence
FHIRPersistenceFactory. getInstance()
Returns an instance of a concrete implementation of the FHIRPersistence interface.FHIRPersistence
PropertyBasedFHIRPersistenceFactory. getInstance(Properties properties)
default FHIRPayloadPersistence
FHIRPersistenceFactory. getPayloadPersistence()
Returns an instance of a concrete implementation of the FHIRPayloadPersistence interface which may be used by FHIRPersistence implementations to handle storage and retrieval of FHIR resource payloads.boolean
FHIRPersistenceTransaction. hasBegun()
Determine if the transaction status is currently active<T extends Resource>
MultiResourceResult<T>FHIRPersistence. history(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
Retrieves all of the versions of the specified FHIR Resource.<T extends Resource>
SingleResourceResult<T>FHIRPersistence. read(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
Retrieves the most recent version of a FHIR Resource from the datastore.int
FHIRPersistence. reindex(FHIRPersistenceContext context, OperationOutcome.Builder operationOutcomeResult, Instant tstamp, List<Long> indexIds, String resourceLogicalId)
Initiates reindexing for either a specified list of index IDs, or a randomly chosen resource.List<Long>
FHIRPersistence. retrieveIndex(int count, Instant notModifiedAfter, Long afterIndexId, String resourceTypeName)
Retrieves a list of index IDs available for reindexing.MultiResourceResult<Resource>
FHIRPersistence. search(FHIRPersistenceContext context, Class<? extends Resource> resourceType)
Performs a search on the specified target resource type using the specified search parameters.void
FHIRPersistenceTransaction. setRollbackOnly()
Modify the transaction associated with the current thread such that the only possible outcome of the transaction is to roll back the transaction.Future<PayloadKey>
FHIRPersistence. storePayload(Resource resource, String logicalId, int newVersionNumber)
Offload payload storage to another provider.<T extends Resource>
SingleResourceResult<T>FHIRPersistence. updateWithMeta(FHIRPersistenceContext context, T resource)
Updates an existing FHIR Resource by storing a new version in the datastore.<T extends Resource>
SingleResourceResult<T>FHIRPersistence. vread(FHIRPersistenceContext context, Class<T> resourceType, String logicalId, String versionId)
Retrieves a specific version of a FHIR Resource from the datastore. -
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.exception
Subclasses of FHIRPersistenceException in com.ibm.fhir.persistence.exception Modifier and Type Class Description class
FHIRPersistenceIfNoneMatchException
This exception is thrown when an IfNoneMatch precondition check fails and the server is configured to treat this as an error (412 Precondition Failed).class
FHIRPersistenceNotSupportedException
Thrown for methods or features not yet fully implemented.class
FHIRPersistenceProcessorException
Thrown when a failure is found processing search parameters.class
FHIRPersistenceResourceDeletedException
class
FHIRPersistenceResourceNotFoundException
class
FHIRPersistenceVersionIdMismatchException
This exception class represents an occurrence of a mismatch between the version id in the resource json vs.Methods in com.ibm.fhir.persistence.exception that return FHIRPersistenceException Modifier and Type Method Description FHIRPersistenceException
FHIRPersistenceException. withIssue(OperationOutcome.Issue... issues)
FHIRPersistenceException
FHIRPersistenceException. withIssue(Collection<OperationOutcome.Issue> issues)
FHIRPersistenceException
FHIRPersistenceProcessorException. withIssue(OperationOutcome.Issue... issues)
FHIRPersistenceException
FHIRPersistenceProcessorException. withIssue(Collection<OperationOutcome.Issue> issues)
-
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.helper
Methods in com.ibm.fhir.persistence.helper that throw FHIRPersistenceException Modifier and Type Method Description void
FHIRTransactionHelper. begin()
If a transaction has not yet been started on this thread, then start one.void
FHIRTransactionHelper. commit()
If we previously started a transaction on this thread using this helper instance, then commit it now.void
FHIRTransactionHelper. end()
Same as commit, but is preferred for readability becauseFHIRTransactionHelper.commit()
will actually do a rollback if setRollbackOnly is called on the underlying transactionFHIRPersistence
FHIRPersistenceHelper. getFHIRPersistenceImplementation()
FHIRPersistence
FHIRPersistenceHelper. getFHIRPersistenceImplementation(String factoryPropertyName)
FHIRPersistence
PersistenceHelper. getFHIRPersistenceImplementation()
Returns an appropriate FHIRPersistance implementation according to the current configuration.FHIRPersistence
PersistenceHelper. getFHIRPersistenceImplementation(String factoryPropertyName)
Returns an appropriate FHIRPersistance implementation according to the current configuration.boolean
FHIRTransactionHelper. hasBegun()
Find out if we're currently in a transactiondefault boolean
PersistenceHelper. isValidFHIRPersistenceImplementation(String identifier)
Identifies if a FHIRPersistence implementation can be found by using the given identifier.protected String
FHIRPersistenceHelper. retrieveFactoryClassName(String factoryPropertyName)
Retrieves the name of the factory class that should be instantiated for use by the server.void
FHIRTransactionHelper. rollback()
If we previously started a transaction on this thread using this helper instance, then perform a rollback now; otherwise, set the transaction as 'rollback only' to prevent it from being committed later.void
FHIRTransactionHelper. setRollbackOnly()
Mark the current transaction for rollback. -
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc
Methods in com.ibm.fhir.persistence.jdbc that throw FHIRPersistenceException Modifier and Type Method Description FHIRPersistence
FHIRPersistenceJDBCFactory. getInstance()
static ResourceDAO
FHIRResourceDAOFactory. getResourceDAO(Connection connection, String adminSchemaName, String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache)
Construct a new ResourceDAO implementation matching the database typestatic ResourceDAO
FHIRResourceDAOFactory. getResourceDAO(Connection connection, String adminSchemaName, String schemaName, FHIRDbFlavor flavor, TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, ParameterTransactionDataImpl ptdi)
Construct a new ResourceDAO implementation matching the database type -
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.cache
Methods in com.ibm.fhir.persistence.jdbc.cache that throw FHIRPersistenceException Modifier and Type Method Description static void
FHIRPersistenceJDBCCacheUtil. prefill(ResourceDAO resourceDAO, ParameterDAO parameterDAO, FHIRPersistenceJDBCCache cache)
Prefill the cache with constants already committed in the database -
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.connection
Methods in com.ibm.fhir.persistence.jdbc.connection with type parameters of type FHIRPersistenceException Modifier and Type Method Description static <XT extends FHIRPersistenceException>
XTFHIRDbHelper. severe(Logger logger, XT fx, String errorMessage, Throwable cause)
Log the exception message here along with the cause stack.static <XT extends FHIRPersistenceException>
XTFHIRDbHelper. severe(Logger logger, XT fx, Throwable cause)
Convenience function to log the cause of an exception about to be thrown.Methods in com.ibm.fhir.persistence.jdbc.connection that throw FHIRPersistenceException Modifier and Type Method Description void
FHIRTestTransactionAdapter. begin()
void
FHIRUserTransactionAdapter. begin()
If a transaction has not yet been started on this thread, then start one.protected void
FHIRDbConnectionStrategyBase. configure(Connection connection, String tenantId, String dsId)
Check with the transaction sync registry to see if this is the first time we've worked with this connection in the current transaction.void
FHIRTestTransactionAdapter. end()
void
FHIRUserTransactionAdapter. end()
If we previously started a transaction on this thread using this helper instance, then commit it now.(package private) <T> T
FHIRUserTransactionAdapter. func(Supplier<T> s)
Call the supplier function within a begin/endprotected Connection
FHIRDbConnectionStrategyBase. getConnection(DataSource datasource, String tenantId, String dsId)
Get a connection configured for the given tenant and datasourceIdboolean
FHIRTestTransactionAdapter. hasBegun()
boolean
FHIRUserTransactionAdapter. hasBegun()
void
FHIRTestTransactionAdapter. setRollbackOnly()
void
FHIRUserTransactionAdapter. setRollbackOnly()
-
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.dao.api
Methods in com.ibm.fhir.persistence.jdbc.dao.api that throw FHIRPersistenceException Modifier and Type Method Description int
ParameterDAO. acquireCodeSystemId(String codeSystemName)
Acquire and return the id associated with the passed code-system name.int
ParameterDAO. acquireParameterNameId(String parameterName)
Acquire and return the id associated with the passed parameter name.void
IResourceReferenceDAO. addNormalizedValues(String resourceType, Collection<ResourceTokenValueRec> xrefs, Collection<ResourceProfileRec> profileRecs, Collection<ResourceTokenValueRec> tagRecs, Collection<ResourceTokenValueRec> securityRecs)
Add TOKEN_VALUE_MAP records, creating any CODE_SYSTEMS and COMMON_TOKEN_VALUES as necessaryvoid
IResourceReferenceDAO. flush()
Execute any statements with pending batch entriesInteger
JDBCIdentityCache. getCanonicalId(String canonicalValue)
Get the database id for the given canonical value.Integer
JDBCIdentityCache. getCodeSystemId(String codeSystem)
Get the database id for the named code-system.Integer
JDBCIdentityCache. getParameterNameId(String parameterName)
Get the database id for the given parameter name.Integer
JDBCIdentityCache. getResourceTypeId(String resourceType)
Get the database id for the named resourceType.List<Integer>
JDBCIdentityCache. getResourceTypeIds()
Get the list of all resource type ids.String
JDBCIdentityCache. getResourceTypeName(Integer resourceTypeId)
Get the resource type name for the resourceTypeId.List<String>
JDBCIdentityCache. getResourceTypeNames()
Get the list of all resource type names.Resource
ResourceDAO. insert(Resource resource, List<ExtractedParameterValue> parameters, String parameterHashB64, ParameterDAO parameterDao, Integer ifNoneMatch)
Inserts the passed Resource DTO and its associated search parameters to the appropriate FHIR resource tables.void
IResourceReferenceDAO. persist(Collection<ResourceTokenValueRec> records, Collection<ResourceProfileRec> profileRecs, Collection<ResourceTokenValueRec> tagRecs, Collection<ResourceTokenValueRec> securityRecs)
Persist the records, which may span multiple resource typesint
ICodeSystemCache. readOrAddCodeSystem(String codeSystem)
Reads the id associated with the name of the passed Parameter from the code_systems table.int
IParameterNameCache. readOrAddParameterNameId(String parameterName)
Reads the id associated with the name of the passed Parameter from the Parameter_Names table. -
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.dao.impl
Methods in com.ibm.fhir.persistence.jdbc.dao.impl with type parameters of type FHIRPersistenceException Modifier and Type Method Description protected <XT extends FHIRPersistenceException>
XTFHIRDbDAOImpl. severe(Logger logger, XT fx, String errorMessage, Throwable cause)
Log the exception message here along with the cause stack.protected <XT extends FHIRPersistenceException>
XTFHIRDbDAOImpl. severe(Logger logger, XT fx, Throwable cause)
Convenience function to log the cause of an exception about to be thrown.Methods in com.ibm.fhir.persistence.jdbc.dao.impl that throw FHIRPersistenceException Modifier and Type Method Description int
ParameterDAOImpl. acquireCodeSystemId(String codeSystemName)
Acquire and return the id associated with the passed code-system name.int
ParameterDAOImpl. acquireParameterNameId(String parameterName)
Acquire and return the id associated with the passed parameter name.void
ResourceReferenceDAO. addNormalizedValues(String resourceType, Collection<ResourceTokenValueRec> xrefs, Collection<ResourceProfileRec> profileRecs, Collection<ResourceTokenValueRec> tagRecs, Collection<ResourceTokenValueRec> securityRecs)
protected void
ResourceDAOImpl. addResourceTypeCacheCandidate(String resourceType, Integer resourceTypeId)
Adds a resource type/ resource id pair to a candidate collection for population into the ResourceTypesCache.void
ResourceReferenceDAO. close()
int
FetchResourcePayloadsDAO. count(Connection c)
Get a count of the resources matching the filter predicates...for debugging...slows things down a lotvoid
ResourceReferenceDAO. flush()
Integer
JDBCIdentityCacheImpl. getCanonicalId(String canonicalValue)
Integer
JDBCIdentityCacheImpl. getCodeSystemId(String codeSystemName)
protected int
ParameterVisitorBatchDAO. getCodeSystemId(String codeSystem)
Looks up the code system.Integer
JDBCIdentityCacheImpl. getParameterNameId(String parameterName)
protected int
ParameterVisitorBatchDAO. getParameterNameId(String parameterName)
Look up the normalized id for the parameter, adding it to the parameter_names table if it doesn't yet existInteger
JDBCIdentityCacheImpl. getResourceTypeId(String resourceType)
List<Integer>
JDBCIdentityCacheImpl. getResourceTypeIds()
String
JDBCIdentityCacheImpl. getResourceTypeName(Integer resourceTypeId)
List<String>
JDBCIdentityCacheImpl. getResourceTypeNames()
Resource
ResourceDAOImpl. insert(Resource resource, List<ExtractedParameterValue> parameters, String parameterHashB64, ParameterDAO parameterDao, Integer ifNoneMatch)
void
ResourceReferenceDAO. persist(Collection<ResourceTokenValueRec> records, Collection<ResourceProfileRec> profileRecs, Collection<ResourceTokenValueRec> tagRecs, Collection<ResourceTokenValueRec> securityRecs)
void
FetchPayloadsForIdsDAO. run(Connection c)
Fetch the payloads using the given connectionList<ResourceChangeLogRecord>
FetchResourceChangesDAO. run(Connection c)
Run the DAO command on the database connectionResourcePayload
FetchResourcePayloadsDAO. run(Connection c)
Run the query, feeding each result row to the consumerList<Long>
RetrieveIndexDAO. run(Connection c)
Run the DAO command on the database connection.void
ParameterVisitorBatchDAO. visit(CompositeParmVal compositeParameter)
void
ParameterVisitorBatchDAO. visit(DateParmVal param)
void
ParameterVisitorBatchDAO. visit(LocationParmVal param)
void
ParameterVisitorBatchDAO. visit(NumberParmVal param)
void
ParameterVisitorBatchDAO. visit(QuantityParmVal param)
void
ParameterVisitorBatchDAO. visit(ReferenceParmVal rpv)
void
ParameterVisitorBatchDAO. visit(StringParmVal param)
void
ParameterVisitorBatchDAO. visit(TokenParmVal param)
-
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.derby
Methods in com.ibm.fhir.persistence.jdbc.derby that throw FHIRPersistenceException Modifier and Type Method Description Resource
DerbyResourceDAO. insert(Resource resource, List<ExtractedParameterValue> parameters, String parameterHashB64, ParameterDAO parameterDao, Integer ifNoneMatch)
-
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.domain
Methods in com.ibm.fhir.persistence.jdbc.domain that throw FHIRPersistenceException Modifier and Type Method Description QueryData
SearchQueryRenderer. addCanonicalParam(QueryData queryData, String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addCanonicalParam(T query, String resourceType, QueryParameter queryParm)
Filter the query using the given canonical parameterQueryData
SearchQueryRenderer. addChained(QueryData queryData, QueryParameter currentParm)
T
SearchQueryVisitor. addChained(T currentSubQuery, QueryParameter currentParm)
Add a chain subquery element as part of a chained parameter searchQueryData
SearchQueryRenderer. addCompositeParam(QueryData queryData, QueryParameter queryParm)
QueryData
SearchQueryRenderer. addCompositeParam(QueryData queryData, QueryParameter queryParm, boolean isMissing)
T
SearchQueryVisitor. addCompositeParam(T query, QueryParameter queryParm)
Add a composite query parameter filter to the queryT
SearchQueryVisitor. addCompositeParam(T query, QueryParameter queryParm, boolean isMissing)
Add a composite query which only tests missing/not missing, not the actual parameter valueQueryData
SearchQueryRenderer. addDateParam(QueryData queryData, String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addDateParam(T queryData, String resourceType, QueryParameter queryParm)
Filter the query using the given date parametervoid
SearchQueryRenderer. addFilter(QueryData queryData, String resourceType, QueryParameter currentParm)
void
SearchQueryVisitor. addFilter(T currentSubQuery, String resourceType, QueryParameter currentParm)
Add a filter predicate to the given chained sub-query element.protected void
SearchQueryRenderer. addIdFilter(QueryData queryData, String resourceType, QueryParameter queryParm)
Add a filter on the LOGICAL_ID for the given query parameter valuesQueryData
SearchQueryRenderer. addIncludeFilter(QueryData queryData, InclusionParameter inclusionParm, List<Long> logicalResourceIds)
T
SearchQueryVisitor. addIncludeFilter(T query, InclusionParameter inclusionParm, List<Long> logicalResourceIds)
QueryData
SearchQueryRenderer. addInclusionParam(QueryData queryData, String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addInclusionParam(T query, String resourceType, QueryParameter queryParm)
Special case to handle inclusion related to compartment-based searchesQueryData
SearchQueryRenderer. addLocationParam(QueryData queryData, String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addLocationParam(T queryData, String resourceType, QueryParameter queryParm)
Filter the query using the given location (lat/lng) paramQueryData
SearchQueryRenderer. addLocationPosition(QueryData queryData, List<QueryParameter> queryParameters)
T
SearchQueryVisitor. addLocationPosition(T queryData, List<QueryParameter> queryParameters)
QueryData
SearchQueryRenderer. addMissingParam(QueryData queryData, QueryParameter queryParm, boolean isMissing)
T
SearchQueryVisitor. addMissingParam(T query, QueryParameter queryParm, boolean isMissing)
Add a missing (NOT EXISTS) parameter clause to the queryQueryData
SearchQueryRenderer. addNumberParam(QueryData queryData, String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addNumberParam(T queryData, String resourceType, QueryParameter queryParm)
Filter the query using the given number parameterQueryData
SearchQueryRenderer. addQuantityParam(QueryData queryData, String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addQuantityParam(T queryData, String resourceType, QueryParameter queryParm)
Filter the query using the given quantity parameterQueryData
SearchQueryRenderer. addReferenceParam(QueryData queryData, String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addReferenceParam(T queryData, String resourceType, QueryParameter queryParm)
Filter the query using the given reference parameterQueryData
SearchQueryRenderer. addReverseChained(QueryData queryData, QueryParameter currentParm)
T
SearchQueryVisitor. addReverseChained(T currentSubQuery, QueryParameter currentParm)
Add a reverse chain subquery element as part of a chained parameter searchQueryData
SearchQueryRenderer. addRevIncludeFilter(QueryData queryData, InclusionParameter inclusionParm, List<Long> logicalResourceIds)
T
SearchQueryVisitor. addRevIncludeFilter(T query, InclusionParameter inclusionParm, List<Long> logicalResourceIds)
QueryData
SearchQueryRenderer. addSecurityParam(QueryData queryData, String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addSecurityParam(T query, String resourceType, QueryParameter queryParm)
Filter the query using the given security query parametervoid
SearchQueryRenderer. addSortParam(QueryData queryData, String code, SearchConstants.Type type, Sort.Direction direction)
void
SearchQueryVisitor. addSortParam(T queryData, String code, SearchConstants.Type type, Sort.Direction direction)
Add the given sort parameter to the sort queryQueryData
SearchQueryRenderer. addStringParam(QueryData queryData, String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addStringParam(T query, String resourceType, QueryParameter queryParm)
Filter the query using the given string parameterQueryData
SearchQueryRenderer. addTagParam(QueryData queryData, String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addTagParam(T query, String resourceType, QueryParameter queryParm)
Filter the query using the given tag query parameterQueryData
SearchQueryRenderer. addTokenParam(QueryData queryData, String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addTokenParam(T query, String resourceType, QueryParameter queryParm)
Filter the query using the given parameter id and token valueQueryData
SearchQueryRenderer. addWholeSystemDataFilter(QueryData queryData, String resourceType, List<Long> logicalResourceIds)
T
SearchQueryVisitor. addWholeSystemDataFilter(T query, String resourceType, List<Long> logicalResourceIds)
QueryData
SearchQueryRenderer. addWholeSystemResourceTypeFilter(QueryData queryData, List<Integer> resourceTypeIds)
T
SearchQueryVisitor. addWholeSystemResourceTypeFilter(T query, List<Integer> resourceTypeIds)
protected int
SearchQueryRenderer. getCanonicalId(String canonicalValue)
Get the id for the given canonicalValue (cache lookup).protected int
SearchQueryRenderer. getCodeSystemId(String codeSystemName)
Get the id for the given code system name (cache lookup)protected Long
SearchQueryRenderer. getCommonTokenValueId(String system, String code)
Get the common token value id matching the unique tuple {system, code}protected List<Long>
SearchQueryRenderer. getCommonTokenValueIdList(String code)
Get a list of common token values matching the given codeprotected Set<Long>
SearchQueryRenderer. getCommonTokenValueIds(Collection<CommonTokenValue> tokenValues)
Get the common token value ids for the passed list of token values {system, code}.protected WhereFragment
SearchQueryRenderer. getFilterPredicate(QueryData queryData, QueryParameter queryParm)
Get a simple filter predicate which can be used in the WHERE clause of a search query.protected WhereFragment
SearchQueryRenderer. getLocationFilter(QueryParameter queryParm, String paramAlias)
Add a filter predicate to the given exists sub-queryprotected WhereFragment
SearchQueryRenderer. getNumberFilter(QueryParameter queryParm, String paramAlias)
Get a filter predicate for the given number query parameterprotected int
SearchQueryRenderer. getParameterNameId(String parameterName)
Get the id for the given parameter name (cache lookup)protected WhereFragment
SearchQueryRenderer. getQuantityFilter(QueryParameter queryParm, String paramAlias)
Add a filter predicate to the given exists sub-queryprotected WhereFragment
SearchQueryRenderer. getReferenceFilter(QueryParameter queryParm, String paramAlias)
Create a filter predicate for the given reference query parameterprotected String
SearchQueryRenderer. getSortParameterTableName(String resourceType, String code, SearchConstants.Type type)
Returns the name of the database table corresponding to the code and type of the passed sort parameter.protected WhereFragment
SearchQueryRenderer. getStringFilter(QueryParameter queryParm, String paramAlias)
Add a filter expression to the given parameter sub-query (which is used as an EXISTS clause)protected WhereFragment
SearchQueryRenderer. getTokenFilter(QueryParameter queryParm, String paramAlias)
Get the filter predicate for the given token query parameter.protected WhereFragment
SearchQueryRenderer. paramFilter(QueryParameter queryParm, String paramTableAlias)
Get the filter predicate expression for the given query parameter taking into account its type, modifiers etc.<T> T
CanonicalSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
ChainedSearchParam. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
CompositeSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
DateSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> void
DomainSortParameter. visit(T queryData, SearchQueryVisitor<T> visitor)
Visitor to apply the sort parameter to the query builder represented by the visitor<T> T
IdSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
InclusionSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
LastUpdatedSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
LocationSearchExtension. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
LocationSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
MissingSearchParam. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
NumberSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
QuantitySearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
ReferenceSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
SearchDataQuery. visit(SearchQueryVisitor<T> visitor)
<T> T
SearchExtension. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
SearchIncludeQuery. visit(SearchQueryVisitor<T> visitor)
abstract <T> T
SearchParam. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
SearchQuery. visit(SearchQueryVisitor<T> visitor)
Get the root query and attach the parameter filters to it<T> T
SearchSortQuery. visit(SearchQueryVisitor<T> visitor)
<T> T
SearchWholeSystemDataQuery. visit(SearchQueryVisitor<T> visitor)
<T> T
SearchWholeSystemFilterQuery. visit(SearchQueryVisitor<T> visitor)
<T> T
SearchWholeSystemQuery. visit(SearchQueryVisitor<T> visitor)
<T> T
SecuritySearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
StringSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
TagSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
TokenSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> void
SearchQuery. visitExtensions(T query, SearchQueryVisitor<T> visitor)
Visit each of the extensions configured for this queryprotected <T> void
SearchQuery. visitSearchParams(T query, SearchQueryVisitor<T> visitor)
Visit each of the search parameters -
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.dto
Methods in com.ibm.fhir.persistence.jdbc.dto that throw FHIRPersistenceException Modifier and Type Method Description void
CompositeParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
DateParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorabstract void
ExtractedParameterValue. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
LocationParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
NumberParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
QuantityParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
ReferenceParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
StringParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
TokenParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
ExtractedParameterValueVisitor. visit(CompositeParmVal compositeParameter)
Process a composite parameter valuevoid
ExtractedParameterValueVisitor. visit(DateParmVal dateParameter)
Process a date parameter valuevoid
ExtractedParameterValueVisitor. visit(LocationParmVal locationParameter)
Process a location parameter valuevoid
ExtractedParameterValueVisitor. visit(NumberParmVal numberParameter)
Process a number parameter valuevoid
ExtractedParameterValueVisitor. visit(QuantityParmVal quantityParameter)
Process a quantity parameter valuevoid
ExtractedParameterValueVisitor. visit(ReferenceParmVal referenceParmVal)
Process a reference parameter valuevoid
ExtractedParameterValueVisitor. visit(StringParmVal stringParameter)
Process a string parameter valuevoid
ExtractedParameterValueVisitor. visit(TokenParmVal tokenParameter)
Process a token parameter value -
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.exception
Subclasses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.exception Modifier and Type Class Description class
FHIRPersistenceDataAccessException
This exception class represents failures encountered while attempting to access (read, write) data in the FHIR DB.class
FHIRPersistenceDBCleanupException
This exception class represents failures encountered while attempting to close/cleanup JDBC resources.class
FHIRPersistenceDBConnectException
This exception class represents failures encountered while attempting to connect to a JDBC database or datasource.class
FHIRPersistenceFKVException
This exception class is thrown when Foreign Key violations are encountered while attempting to access data in the FHIR DB. -
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.impl
Methods in com.ibm.fhir.persistence.jdbc.impl that throw FHIRPersistenceException Modifier and Type Method Description protected List<Resource>
FHIRPersistenceJDBCImpl. buildSortedResourceDTOList(ResourceDAO resourceDao, Class<? extends Resource> resourceType, List<Long> sortedIdList)
This method takes the passed list of sorted Resource ids, acquires the ResourceDTO corresponding to each id, and returns those ResourceDTOs in a List, sorted according to the input sorted ids.List<ResourceChangeLogRecord>
FHIRPersistenceJDBCImpl. changes(int resourceCount, Instant fromLastModified, Long afterResourceId, String resourceTypeName)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. create(FHIRPersistenceContext context, T resource)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. createWithMeta(FHIRPersistenceContext context, T updatedResource)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. delete(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
void
FHIRPersistenceJDBCImpl. doCachePrefill(Connection connection)
Prefill the cachesResourceEraseRecord
FHIRPersistenceJDBCImpl. erase(EraseDTO eraseDto)
ResourcePayload
FHIRPersistenceJDBCImpl. fetchResourcePayloads(Class<? extends Resource> resourceType, Instant fromLastModified, Instant toLastModified, Function<ResourcePayload,Boolean> processor)
OperationOutcome
FHIRPersistenceJDBCImpl. getHealth()
<T extends Resource>
MultiResourceResult<T>FHIRPersistenceJDBCImpl. history(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
void
FHIRPersistenceJDBCImpl. persistResourceTokenValueRecords(Collection<ResourceTokenValueRec> records, Collection<ResourceProfileRec> profileRecs, Collection<ResourceTokenValueRec> tagRecs, Collection<ResourceTokenValueRec> securityRecs)
Called just prior to commit so that we can persist all the token value records that have been accumulated during the transaction.<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. read(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
int
FHIRPersistenceJDBCImpl. reindex(FHIRPersistenceContext context, OperationOutcome.Builder operationOutcomeResult, Instant tstamp, List<Long> indexIds, String resourceLogicalId)
List<Long>
FHIRPersistenceJDBCImpl. retrieveIndex(int count, Instant notModifiedAfter, Long afterIndexId, String resourceTypeName)
MultiResourceResult<Resource>
FHIRPersistenceJDBCImpl. search(FHIRPersistenceContext context, Class<? extends Resource> resourceType)
Search query implementation based on the 1385 new query builder.Future<PayloadKey>
FHIRPersistenceJDBCImpl. storePayload(Resource resource, String logicalId, int newVersionNumber)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. update(FHIRPersistenceContext context, String logicalId, T resource)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. updateWithMeta(FHIRPersistenceContext context, T resource)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. vread(FHIRPersistenceContext context, Class<T> resourceType, String logicalId, String versionId)
-
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.postgres
Methods in com.ibm.fhir.persistence.jdbc.postgres that throw FHIRPersistenceException Modifier and Type Method Description Resource
PostgresResourceDAO. insert(Resource resource, List<ExtractedParameterValue> parameters, String parameterHashB64, ParameterDAO parameterDao, Integer ifNoneMatch)
Resource
PostgresResourceNoProcDAO. insert(Resource resource, List<ExtractedParameterValue> parameters, String parameterHashB64, ParameterDAO parameterDao, Integer ifNoneMatch)
-
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.util
Methods in com.ibm.fhir.persistence.jdbc.util that throw FHIRPersistenceException Modifier and Type Method Description static ResourceProfileRec
CanonicalSupport. makeResourceProfileRec(String parameterName, String resourceType, long resourceTypeId, long logicalResourceId, String paramValue, boolean systemLevel)
Process the search parameter value data to generate aResourceProfileRec
DTO.<T> T
IncludeExtension. visit(T query, SearchQueryVisitor<T> visitor)
void
ParameterHashVisitor. visit(CompositeParmVal compositeParameter)
void
ParameterHashVisitor. visit(DateParmVal param)
void
ParameterHashVisitor. visit(LocationParmVal param)
void
ParameterHashVisitor. visit(NumberParmVal param)
void
ParameterHashVisitor. visit(QuantityParmVal param)
void
ParameterHashVisitor. visit(ReferenceParmVal param)
void
ParameterHashVisitor. visit(StringParmVal param)
void
ParameterHashVisitor. visit(TokenParmVal param)
<T> T
RevIncludeExtension. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
WholeSystemDataExtension. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
WholeSystemResourceTypeExtension. visit(T query, SearchQueryVisitor<T> visitor)
-
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.jdbc.util.type
Methods in com.ibm.fhir.persistence.jdbc.util.type that throw FHIRPersistenceException Modifier and Type Method Description void
NewQuantityParmBehaviorUtil. addSystemIfPresent(WhereFragment whereClauseSegment, String tableAlias, String system)
adds the system if present.void
NewNumberParmBehaviorUtil. executeBehavior(WhereFragment whereClauseSegment, QueryParameter queryParm, String tableAlias)
Add the filter predicate logic to the given whereClauseSegmentvoid
NewQuantityParmBehaviorUtil. executeBehavior(WhereFragment whereClauseSegment, QueryParameter queryParm, String tableAlias)
-
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.payload
Methods in com.ibm.fhir.persistence.payload that throw FHIRPersistenceException Modifier and Type Method Description void
FHIRPayloadPersistence. deletePayload(int resourceTypeId, String logicalId, int version)
Delete the payload item.<T extends Resource>
TFHIRPayloadPersistence. readResource(Class<T> resourceType, int resourceTypeId, String logicalId, int version, List<String> elements)
Retrieve the payload data for the given resourceTypeId, logicalId and version.<T extends Resource>
Future<T>FHIRPayloadPersistence. readResource(Class<T> resourceType, PayloadKey payloadKey)
Fetch the resource directly using the payload key.static InputOutputByteStream
PayloadPersistenceHelper. render(Resource resource, boolean compress)
Render the payloadFuture<PayloadKey>
FHIRPayloadPersistence. storePayload(String resourceTypeName, int resourceTypeId, String logicalId, int version, Resource resource)
Store the payload. -
Uses of FHIRPersistenceException in com.ibm.fhir.persistence.util
Methods in com.ibm.fhir.persistence.util that throw FHIRPersistenceException Modifier and Type Method Description protected abstract T1
AbstractQueryBuilder. buildLocationQuerySegment(String parmName, List<Bounding> boundingAreas, String paramTableAlias)
Deprecated.Builds a query segment for the passed parameter name using the geospatial data contained with the passed BoundingBoxT
QueryBuilder. buildQuery(Class<?> resourceType, FHIRSearchContext searchContext)
Deprecated.Build and return query for the passed resource type and search parameters.static FHIRHistoryContext
FHIRPersistenceUtil. parseHistoryParameters(Map<String,List<String>> queryParameters, boolean lenient)
static FHIRSystemHistoryContext
FHIRPersistenceUtil. parseSystemHistoryParameters(Map<String,List<String>> queryParameters, boolean lenient)
protected abstract T1
AbstractQueryBuilder. processCompositeParm(Class<?> resourceType, QueryParameter queryParm)
Deprecated.Creates a query segment for a Composite type parameter.protected T1
AbstractQueryBuilder. processLocationPosition(List<QueryParameter> queryParameters, String paramTableAlias)
Deprecated.This method executes special logic for a Token type query that maps to a LocationPosition data type.protected abstract T1
AbstractQueryBuilder. processNumberParm(Class<?> resourceType, QueryParameter queryParm)
Deprecated.Creates a query segment for a Number type parameter.protected abstract T1
AbstractQueryBuilder. processStringParm(QueryParameter queryParm)
Deprecated.Creates a query segment for a String type parameter.protected abstract T1
AbstractQueryBuilder. processTokenParm(Class<?> resourceType, QueryParameter queryParm)
Deprecated.Creates a query segment for a Token type parameter.protected abstract T1
AbstractQueryBuilder. processUriParm(QueryParameter queryParm)
Deprecated.Creates a query segment for a URI type parameter. -
Uses of FHIRPersistenceException in com.ibm.fhir.server.resources
Methods in com.ibm.fhir.server.resources that throw FHIRPersistenceException Modifier and Type Method Description protected FHIRPersistence
FHIRResource. getPersistenceImpl()
Retrieves the persistence implementation to use for the current request.protected boolean
FHIRResource. isDeleteSupported()
-
Uses of FHIRPersistenceException in com.ibm.fhir.server.spi.interceptor
Subclasses of FHIRPersistenceException in com.ibm.fhir.server.spi.interceptor Modifier and Type Class Description class
FHIRPersistenceInterceptorException
-
Uses of FHIRPersistenceException in com.ibm.fhir.server.spi.operation
Methods in com.ibm.fhir.server.spi.operation that throw FHIRPersistenceException Modifier and Type Method Description Map<String,Object>
FHIRResourceHelpers. buildPersistenceEventProperties(String type, String id, String version, FHIRSearchContext searchContext)
Builds a collection of properties that will be passed to the persistence interceptors. -
Uses of FHIRPersistenceException in com.ibm.fhir.server.util
Methods in com.ibm.fhir.server.util that throw FHIRPersistenceException Modifier and Type Method Description Map<String,Object>
FHIRRestHelper. buildPersistenceEventProperties(String type, String id, String version, FHIRSearchContext searchContext)
-