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 voidFHIRPersistenceTransaction. 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.voidFHIRPersistenceTransaction. end()End the current thread's transaction.default ResourceEraseRecordFHIRPersistence. erase(EraseDTO eraseDto)Erases part or a whole of a resource in the data layerResourcePayloadFHIRPersistence. fetchResourcePayloads(Class<? extends Resource> resourceType, Instant fromLastModified, Instant toLastModified, Function<ResourcePayload,Boolean> process)Special function for high speed export of resource payloads.OperationOutcomeFHIRPersistence. getHealth()Returns an OperationOutcome indicating the current status of the persistence store / backendFHIRPersistenceFHIRPersistenceFactory. getInstance()Returns an instance of a concrete implementation of the FHIRPersistence interface.FHIRPersistencePropertyBasedFHIRPersistenceFactory. getInstance(Properties properties)default FHIRPayloadPersistenceFHIRPersistenceFactory. 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.booleanFHIRPersistenceTransaction. 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.intFHIRPersistence. 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.voidFHIRPersistenceTransaction. 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 classFHIRPersistenceIfNoneMatchExceptionThis exception is thrown when an IfNoneMatch precondition check fails and the server is configured to treat this as an error (412 Precondition Failed).classFHIRPersistenceNotSupportedExceptionThrown for methods or features not yet fully implemented.classFHIRPersistenceProcessorExceptionThrown when a failure is found processing search parameters.classFHIRPersistenceResourceDeletedExceptionclassFHIRPersistenceResourceNotFoundExceptionclassFHIRPersistenceVersionIdMismatchExceptionThis 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 FHIRPersistenceExceptionFHIRPersistenceException. withIssue(OperationOutcome.Issue... issues)FHIRPersistenceExceptionFHIRPersistenceException. withIssue(Collection<OperationOutcome.Issue> issues)FHIRPersistenceExceptionFHIRPersistenceProcessorException. withIssue(OperationOutcome.Issue... issues)FHIRPersistenceExceptionFHIRPersistenceProcessorException. 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 voidFHIRTransactionHelper. begin()If a transaction has not yet been started on this thread, then start one.voidFHIRTransactionHelper. commit()If we previously started a transaction on this thread using this helper instance, then commit it now.voidFHIRTransactionHelper. end()Same as commit, but is preferred for readability becauseFHIRTransactionHelper.commit()will actually do a rollback if setRollbackOnly is called on the underlying transactionFHIRPersistenceFHIRPersistenceHelper. getFHIRPersistenceImplementation()FHIRPersistenceFHIRPersistenceHelper. getFHIRPersistenceImplementation(String factoryPropertyName)FHIRPersistencePersistenceHelper. getFHIRPersistenceImplementation()Returns an appropriate FHIRPersistance implementation according to the current configuration.FHIRPersistencePersistenceHelper. getFHIRPersistenceImplementation(String factoryPropertyName)Returns an appropriate FHIRPersistance implementation according to the current configuration.booleanFHIRTransactionHelper. hasBegun()Find out if we're currently in a transactiondefault booleanPersistenceHelper. isValidFHIRPersistenceImplementation(String identifier)Identifies if a FHIRPersistence implementation can be found by using the given identifier.protected StringFHIRPersistenceHelper. retrieveFactoryClassName(String factoryPropertyName)Retrieves the name of the factory class that should be instantiated for use by the server.voidFHIRTransactionHelper. 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.voidFHIRTransactionHelper. 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 FHIRPersistenceFHIRPersistenceJDBCFactory. getInstance()static ResourceDAOFHIRResourceDAOFactory. getResourceDAO(Connection connection, String adminSchemaName, String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache)Construct a new ResourceDAO implementation matching the database typestatic ResourceDAOFHIRResourceDAOFactory. 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 voidFHIRPersistenceJDBCCacheUtil. 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 voidFHIRTestTransactionAdapter. begin()voidFHIRUserTransactionAdapter. begin()If a transaction has not yet been started on this thread, then start one.protected voidFHIRDbConnectionStrategyBase. 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.voidFHIRTestTransactionAdapter. end()voidFHIRUserTransactionAdapter. end()If we previously started a transaction on this thread using this helper instance, then commit it now.(package private) <T> TFHIRUserTransactionAdapter. func(Supplier<T> s)Call the supplier function within a begin/endprotected ConnectionFHIRDbConnectionStrategyBase. getConnection(DataSource datasource, String tenantId, String dsId)Get a connection configured for the given tenant and datasourceIdbooleanFHIRTestTransactionAdapter. hasBegun()booleanFHIRUserTransactionAdapter. hasBegun()voidFHIRTestTransactionAdapter. setRollbackOnly()voidFHIRUserTransactionAdapter. 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 intParameterDAO. acquireCodeSystemId(String codeSystemName)Acquire and return the id associated with the passed code-system name.intParameterDAO. acquireParameterNameId(String parameterName)Acquire and return the id associated with the passed parameter name.voidIResourceReferenceDAO. 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 necessaryvoidIResourceReferenceDAO. flush()Execute any statements with pending batch entriesIntegerJDBCIdentityCache. getCanonicalId(String canonicalValue)Get the database id for the given canonical value.IntegerJDBCIdentityCache. getCodeSystemId(String codeSystem)Get the database id for the named code-system.IntegerJDBCIdentityCache. getParameterNameId(String parameterName)Get the database id for the given parameter name.IntegerJDBCIdentityCache. getResourceTypeId(String resourceType)Get the database id for the named resourceType.List<Integer>JDBCIdentityCache. getResourceTypeIds()Get the list of all resource type ids.StringJDBCIdentityCache. getResourceTypeName(Integer resourceTypeId)Get the resource type name for the resourceTypeId.List<String>JDBCIdentityCache. getResourceTypeNames()Get the list of all resource type names.ResourceResourceDAO. 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.voidIResourceReferenceDAO. persist(Collection<ResourceTokenValueRec> records, Collection<ResourceProfileRec> profileRecs, Collection<ResourceTokenValueRec> tagRecs, Collection<ResourceTokenValueRec> securityRecs)Persist the records, which may span multiple resource typesintICodeSystemCache. readOrAddCodeSystem(String codeSystem)Reads the id associated with the name of the passed Parameter from the code_systems table.intIParameterNameCache. 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 intParameterDAOImpl. acquireCodeSystemId(String codeSystemName)Acquire and return the id associated with the passed code-system name.intParameterDAOImpl. acquireParameterNameId(String parameterName)Acquire and return the id associated with the passed parameter name.voidResourceReferenceDAO. addNormalizedValues(String resourceType, Collection<ResourceTokenValueRec> xrefs, Collection<ResourceProfileRec> profileRecs, Collection<ResourceTokenValueRec> tagRecs, Collection<ResourceTokenValueRec> securityRecs)protected voidResourceDAOImpl. addResourceTypeCacheCandidate(String resourceType, Integer resourceTypeId)Adds a resource type/ resource id pair to a candidate collection for population into the ResourceTypesCache.voidResourceReferenceDAO. close()intFetchResourcePayloadsDAO. count(Connection c)Get a count of the resources matching the filter predicates...for debugging...slows things down a lotvoidResourceReferenceDAO. flush()IntegerJDBCIdentityCacheImpl. getCanonicalId(String canonicalValue)IntegerJDBCIdentityCacheImpl. getCodeSystemId(String codeSystemName)protected intParameterVisitorBatchDAO. getCodeSystemId(String codeSystem)Looks up the code system.IntegerJDBCIdentityCacheImpl. getParameterNameId(String parameterName)protected intParameterVisitorBatchDAO. getParameterNameId(String parameterName)Look up the normalized id for the parameter, adding it to the parameter_names table if it doesn't yet existIntegerJDBCIdentityCacheImpl. getResourceTypeId(String resourceType)List<Integer>JDBCIdentityCacheImpl. getResourceTypeIds()StringJDBCIdentityCacheImpl. getResourceTypeName(Integer resourceTypeId)List<String>JDBCIdentityCacheImpl. getResourceTypeNames()ResourceResourceDAOImpl. insert(Resource resource, List<ExtractedParameterValue> parameters, String parameterHashB64, ParameterDAO parameterDao, Integer ifNoneMatch)voidResourceReferenceDAO. persist(Collection<ResourceTokenValueRec> records, Collection<ResourceProfileRec> profileRecs, Collection<ResourceTokenValueRec> tagRecs, Collection<ResourceTokenValueRec> securityRecs)voidFetchPayloadsForIdsDAO. run(Connection c)Fetch the payloads using the given connectionList<ResourceChangeLogRecord>FetchResourceChangesDAO. run(Connection c)Run the DAO command on the database connectionResourcePayloadFetchResourcePayloadsDAO. 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.voidParameterVisitorBatchDAO. visit(CompositeParmVal compositeParameter)voidParameterVisitorBatchDAO. visit(DateParmVal param)voidParameterVisitorBatchDAO. visit(LocationParmVal param)voidParameterVisitorBatchDAO. visit(NumberParmVal param)voidParameterVisitorBatchDAO. visit(QuantityParmVal param)voidParameterVisitorBatchDAO. visit(ReferenceParmVal rpv)voidParameterVisitorBatchDAO. visit(StringParmVal param)voidParameterVisitorBatchDAO. 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 ResourceDerbyResourceDAO. 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 QueryDataSearchQueryRenderer. addCanonicalParam(QueryData queryData, String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addCanonicalParam(T query, String resourceType, QueryParameter queryParm)Filter the query using the given canonical parameterQueryDataSearchQueryRenderer. addChained(QueryData queryData, QueryParameter currentParm)TSearchQueryVisitor. addChained(T currentSubQuery, QueryParameter currentParm)Add a chain subquery element as part of a chained parameter searchQueryDataSearchQueryRenderer. addCompositeParam(QueryData queryData, QueryParameter queryParm)QueryDataSearchQueryRenderer. addCompositeParam(QueryData queryData, QueryParameter queryParm, boolean isMissing)TSearchQueryVisitor. addCompositeParam(T query, QueryParameter queryParm)Add a composite query parameter filter to the queryTSearchQueryVisitor. addCompositeParam(T query, QueryParameter queryParm, boolean isMissing)Add a composite query which only tests missing/not missing, not the actual parameter valueQueryDataSearchQueryRenderer. addDateParam(QueryData queryData, String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addDateParam(T queryData, String resourceType, QueryParameter queryParm)Filter the query using the given date parametervoidSearchQueryRenderer. addFilter(QueryData queryData, String resourceType, QueryParameter currentParm)voidSearchQueryVisitor. addFilter(T currentSubQuery, String resourceType, QueryParameter currentParm)Add a filter predicate to the given chained sub-query element.protected voidSearchQueryRenderer. addIdFilter(QueryData queryData, String resourceType, QueryParameter queryParm)Add a filter on the LOGICAL_ID for the given query parameter valuesQueryDataSearchQueryRenderer. addIncludeFilter(QueryData queryData, InclusionParameter inclusionParm, List<Long> logicalResourceIds)TSearchQueryVisitor. addIncludeFilter(T query, InclusionParameter inclusionParm, List<Long> logicalResourceIds)QueryDataSearchQueryRenderer. addInclusionParam(QueryData queryData, String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addInclusionParam(T query, String resourceType, QueryParameter queryParm)Special case to handle inclusion related to compartment-based searchesQueryDataSearchQueryRenderer. addLocationParam(QueryData queryData, String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addLocationParam(T queryData, String resourceType, QueryParameter queryParm)Filter the query using the given location (lat/lng) paramQueryDataSearchQueryRenderer. addLocationPosition(QueryData queryData, List<QueryParameter> queryParameters)TSearchQueryVisitor. addLocationPosition(T queryData, List<QueryParameter> queryParameters)QueryDataSearchQueryRenderer. addMissingParam(QueryData queryData, QueryParameter queryParm, boolean isMissing)TSearchQueryVisitor. addMissingParam(T query, QueryParameter queryParm, boolean isMissing)Add a missing (NOT EXISTS) parameter clause to the queryQueryDataSearchQueryRenderer. addNumberParam(QueryData queryData, String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addNumberParam(T queryData, String resourceType, QueryParameter queryParm)Filter the query using the given number parameterQueryDataSearchQueryRenderer. addQuantityParam(QueryData queryData, String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addQuantityParam(T queryData, String resourceType, QueryParameter queryParm)Filter the query using the given quantity parameterQueryDataSearchQueryRenderer. addReferenceParam(QueryData queryData, String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addReferenceParam(T queryData, String resourceType, QueryParameter queryParm)Filter the query using the given reference parameterQueryDataSearchQueryRenderer. addReverseChained(QueryData queryData, QueryParameter currentParm)TSearchQueryVisitor. addReverseChained(T currentSubQuery, QueryParameter currentParm)Add a reverse chain subquery element as part of a chained parameter searchQueryDataSearchQueryRenderer. addRevIncludeFilter(QueryData queryData, InclusionParameter inclusionParm, List<Long> logicalResourceIds)TSearchQueryVisitor. addRevIncludeFilter(T query, InclusionParameter inclusionParm, List<Long> logicalResourceIds)QueryDataSearchQueryRenderer. addSecurityParam(QueryData queryData, String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addSecurityParam(T query, String resourceType, QueryParameter queryParm)Filter the query using the given security query parametervoidSearchQueryRenderer. addSortParam(QueryData queryData, String code, SearchConstants.Type type, Sort.Direction direction)voidSearchQueryVisitor. addSortParam(T queryData, String code, SearchConstants.Type type, Sort.Direction direction)Add the given sort parameter to the sort queryQueryDataSearchQueryRenderer. addStringParam(QueryData queryData, String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addStringParam(T query, String resourceType, QueryParameter queryParm)Filter the query using the given string parameterQueryDataSearchQueryRenderer. addTagParam(QueryData queryData, String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addTagParam(T query, String resourceType, QueryParameter queryParm)Filter the query using the given tag query parameterQueryDataSearchQueryRenderer. addTokenParam(QueryData queryData, String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addTokenParam(T query, String resourceType, QueryParameter queryParm)Filter the query using the given parameter id and token valueQueryDataSearchQueryRenderer. addWholeSystemDataFilter(QueryData queryData, String resourceType, List<Long> logicalResourceIds)TSearchQueryVisitor. addWholeSystemDataFilter(T query, String resourceType, List<Long> logicalResourceIds)QueryDataSearchQueryRenderer. addWholeSystemResourceTypeFilter(QueryData queryData, List<Integer> resourceTypeIds)TSearchQueryVisitor. addWholeSystemResourceTypeFilter(T query, List<Integer> resourceTypeIds)protected intSearchQueryRenderer. getCanonicalId(String canonicalValue)Get the id for the given canonicalValue (cache lookup).protected intSearchQueryRenderer. getCodeSystemId(String codeSystemName)Get the id for the given code system name (cache lookup)protected LongSearchQueryRenderer. 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 WhereFragmentSearchQueryRenderer. getFilterPredicate(QueryData queryData, QueryParameter queryParm)Get a simple filter predicate which can be used in the WHERE clause of a search query.protected WhereFragmentSearchQueryRenderer. getLocationFilter(QueryParameter queryParm, String paramAlias)Add a filter predicate to the given exists sub-queryprotected WhereFragmentSearchQueryRenderer. getNumberFilter(QueryParameter queryParm, String paramAlias)Get a filter predicate for the given number query parameterprotected intSearchQueryRenderer. getParameterNameId(String parameterName)Get the id for the given parameter name (cache lookup)protected WhereFragmentSearchQueryRenderer. getQuantityFilter(QueryParameter queryParm, String paramAlias)Add a filter predicate to the given exists sub-queryprotected WhereFragmentSearchQueryRenderer. getReferenceFilter(QueryParameter queryParm, String paramAlias)Create a filter predicate for the given reference query parameterprotected StringSearchQueryRenderer. 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 WhereFragmentSearchQueryRenderer. getStringFilter(QueryParameter queryParm, String paramAlias)Add a filter expression to the given parameter sub-query (which is used as an EXISTS clause)protected WhereFragmentSearchQueryRenderer. getTokenFilter(QueryParameter queryParm, String paramAlias)Get the filter predicate for the given token query parameter.protected WhereFragmentSearchQueryRenderer. paramFilter(QueryParameter queryParm, String paramTableAlias)Get the filter predicate expression for the given query parameter taking into account its type, modifiers etc.<T> TCanonicalSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TChainedSearchParam. visit(T query, SearchQueryVisitor<T> visitor)<T> TCompositeSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TDateSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> voidDomainSortParameter. visit(T queryData, SearchQueryVisitor<T> visitor)Visitor to apply the sort parameter to the query builder represented by the visitor<T> TIdSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TInclusionSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TLastUpdatedSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TLocationSearchExtension. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TLocationSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TMissingSearchParam. visit(T query, SearchQueryVisitor<T> visitor)<T> TNumberSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TQuantitySearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TReferenceSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TSearchDataQuery. visit(SearchQueryVisitor<T> visitor)<T> TSearchExtension. visit(T query, SearchQueryVisitor<T> visitor)<T> TSearchIncludeQuery. visit(SearchQueryVisitor<T> visitor)abstract <T> TSearchParam. visit(T query, SearchQueryVisitor<T> visitor)<T> TSearchQuery. visit(SearchQueryVisitor<T> visitor)Get the root query and attach the parameter filters to it<T> TSearchSortQuery. visit(SearchQueryVisitor<T> visitor)<T> TSearchWholeSystemDataQuery. visit(SearchQueryVisitor<T> visitor)<T> TSearchWholeSystemFilterQuery. visit(SearchQueryVisitor<T> visitor)<T> TSearchWholeSystemQuery. visit(SearchQueryVisitor<T> visitor)<T> TSecuritySearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TStringSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TTagSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> TTokenSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)<T> voidSearchQuery. visitExtensions(T query, SearchQueryVisitor<T> visitor)Visit each of the extensions configured for this queryprotected <T> voidSearchQuery. 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 voidCompositeParmVal. accept(ExtractedParameterValueVisitor visitor)We know our type, so we can call the correct method on the visitorvoidDateParmVal. accept(ExtractedParameterValueVisitor visitor)We know our type, so we can call the correct method on the visitorabstract voidExtractedParameterValue. accept(ExtractedParameterValueVisitor visitor)We know our type, so we can call the correct method on the visitorvoidLocationParmVal. accept(ExtractedParameterValueVisitor visitor)We know our type, so we can call the correct method on the visitorvoidNumberParmVal. accept(ExtractedParameterValueVisitor visitor)We know our type, so we can call the correct method on the visitorvoidQuantityParmVal. accept(ExtractedParameterValueVisitor visitor)We know our type, so we can call the correct method on the visitorvoidReferenceParmVal. accept(ExtractedParameterValueVisitor visitor)We know our type, so we can call the correct method on the visitorvoidStringParmVal. accept(ExtractedParameterValueVisitor visitor)We know our type, so we can call the correct method on the visitorvoidTokenParmVal. accept(ExtractedParameterValueVisitor visitor)We know our type, so we can call the correct method on the visitorvoidExtractedParameterValueVisitor. visit(CompositeParmVal compositeParameter)Process a composite parameter valuevoidExtractedParameterValueVisitor. visit(DateParmVal dateParameter)Process a date parameter valuevoidExtractedParameterValueVisitor. visit(LocationParmVal locationParameter)Process a location parameter valuevoidExtractedParameterValueVisitor. visit(NumberParmVal numberParameter)Process a number parameter valuevoidExtractedParameterValueVisitor. visit(QuantityParmVal quantityParameter)Process a quantity parameter valuevoidExtractedParameterValueVisitor. visit(ReferenceParmVal referenceParmVal)Process a reference parameter valuevoidExtractedParameterValueVisitor. visit(StringParmVal stringParameter)Process a string parameter valuevoidExtractedParameterValueVisitor. 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 classFHIRPersistenceDataAccessExceptionThis exception class represents failures encountered while attempting to access (read, write) data in the FHIR DB.classFHIRPersistenceDBCleanupExceptionThis exception class represents failures encountered while attempting to close/cleanup JDBC resources.classFHIRPersistenceDBConnectExceptionThis exception class represents failures encountered while attempting to connect to a JDBC database or datasource.classFHIRPersistenceFKVExceptionThis 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)voidFHIRPersistenceJDBCImpl. doCachePrefill(Connection connection)Prefill the cachesResourceEraseRecordFHIRPersistenceJDBCImpl. erase(EraseDTO eraseDto)ResourcePayloadFHIRPersistenceJDBCImpl. fetchResourcePayloads(Class<? extends Resource> resourceType, Instant fromLastModified, Instant toLastModified, Function<ResourcePayload,Boolean> processor)OperationOutcomeFHIRPersistenceJDBCImpl. getHealth()<T extends Resource>
MultiResourceResult<T>FHIRPersistenceJDBCImpl. history(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)voidFHIRPersistenceJDBCImpl. 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)intFHIRPersistenceJDBCImpl. 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 ResourcePostgresResourceDAO. insert(Resource resource, List<ExtractedParameterValue> parameters, String parameterHashB64, ParameterDAO parameterDao, Integer ifNoneMatch)ResourcePostgresResourceNoProcDAO. 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 ResourceProfileRecCanonicalSupport. makeResourceProfileRec(String parameterName, String resourceType, long resourceTypeId, long logicalResourceId, String paramValue, boolean systemLevel)Process the search parameter value data to generate aResourceProfileRecDTO.<T> TIncludeExtension. visit(T query, SearchQueryVisitor<T> visitor)voidParameterHashVisitor. visit(CompositeParmVal compositeParameter)voidParameterHashVisitor. visit(DateParmVal param)voidParameterHashVisitor. visit(LocationParmVal param)voidParameterHashVisitor. visit(NumberParmVal param)voidParameterHashVisitor. visit(QuantityParmVal param)voidParameterHashVisitor. visit(ReferenceParmVal param)voidParameterHashVisitor. visit(StringParmVal param)voidParameterHashVisitor. visit(TokenParmVal param)<T> TRevIncludeExtension. visit(T query, SearchQueryVisitor<T> visitor)<T> TWholeSystemDataExtension. visit(T query, SearchQueryVisitor<T> visitor)<T> TWholeSystemResourceTypeExtension. 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 voidNewQuantityParmBehaviorUtil. addSystemIfPresent(WhereFragment whereClauseSegment, String tableAlias, String system)adds the system if present.voidNewNumberParmBehaviorUtil. executeBehavior(WhereFragment whereClauseSegment, QueryParameter queryParm, String tableAlias)Add the filter predicate logic to the given whereClauseSegmentvoidNewQuantityParmBehaviorUtil. 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 voidFHIRPayloadPersistence. 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 InputOutputByteStreamPayloadPersistenceHelper. 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 T1AbstractQueryBuilder. 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 BoundingBoxTQueryBuilder. buildQuery(Class<?> resourceType, FHIRSearchContext searchContext)Deprecated.Build and return query for the passed resource type and search parameters.static FHIRHistoryContextFHIRPersistenceUtil. parseHistoryParameters(Map<String,List<String>> queryParameters, boolean lenient)static FHIRSystemHistoryContextFHIRPersistenceUtil. parseSystemHistoryParameters(Map<String,List<String>> queryParameters, boolean lenient)protected abstract T1AbstractQueryBuilder. processCompositeParm(Class<?> resourceType, QueryParameter queryParm)Deprecated.Creates a query segment for a Composite type parameter.protected T1AbstractQueryBuilder. 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 T1AbstractQueryBuilder. processNumberParm(Class<?> resourceType, QueryParameter queryParm)Deprecated.Creates a query segment for a Number type parameter.protected abstract T1AbstractQueryBuilder. processStringParm(QueryParameter queryParm)Deprecated.Creates a query segment for a String type parameter.protected abstract T1AbstractQueryBuilder. processTokenParm(Class<?> resourceType, QueryParameter queryParm)Deprecated.Creates a query segment for a Token type parameter.protected abstract T1AbstractQueryBuilder. 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 FHIRPersistenceFHIRResource. getPersistenceImpl()Retrieves the persistence implementation to use for the current request.protected booleanFHIRResource. 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 classFHIRPersistenceInterceptorException -
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)
-