Uses of Class
org.linuxforhealth.fhir.persistence.exception.FHIRPersistenceException
-
-
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence
Methods in org.linuxforhealth.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.java.util.List<ResourceChangeLogRecord>FHIRPersistence. changes(FHIRPersistenceContext context, int resourceCount, java.time.Instant sinceLastModified, java.time.Instant beforeLastModified, java.lang.Long changeIdMarker, java.util.List<java.lang.String> resourceTypeNames, boolean excludeTransactionTimeoutWindow, HistorySortOrder historySortOrder)Fetch up to resourceCount records from the RESOURCE_CHANGE_LOG table.<T extends Resource>
SingleResourceResult<T>FHIRPersistence. create(FHIRPersistenceContext context, T resource)Stores a new FHIR Resource in the datastore.default <T extends Resource>
voidFHIRPersistence. delete(FHIRPersistenceContext context, java.lang.Class<T> resourceType, java.lang.String logicalId, int versionId, Instant lastUpdated)Deletes the FHIR resource from the datastore.voidFHIRPersistenceTransaction. end()End the current thread's transaction.default ResourceEraseRecordFHIRPersistence. erase(FHIRPersistenceContext context, EraseDTO eraseDto)Erases part or a whole of a resource in the data layer.ResourcePayloadFHIRPersistence. fetchResourcePayloads(java.lang.Class<? extends Resource> resourceType, java.time.Instant fromLastModified, java.time.Instant toLastModified, java.util.function.Function<ResourcePayload,java.lang.Boolean> process)Special function for high speed export of resource payloads.OperationOutcomeFHIRPersistence. getHealth()Returns an OperationOutcome indicating the current status of the persistence store / backend.FHIRPersistenceFHIRPersistenceFactory. getInstance(SearchHelper searchHelper)Returns an instance of a concrete implementation of the FHIRPersistence interface.FHIRPersistencePropertyBasedFHIRPersistenceFactory. getInstance(java.util.Properties properties)static intFHIRPersistenceSupport. getMetaVersionId(Resource resource)Obtain the versionId value from the Resource meta element, converting to an int for use by the persistence layerstatic InstantFHIRPersistenceSupport. getNewLastUpdatedInstant(java.time.Instant currentLastUpdated)Get the lastUpdated time to use for the next version of a resource.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 activeMultiResourceResultFHIRPersistence. history(FHIRPersistenceContext context, java.lang.Class<? extends Resource> resourceType, java.lang.String logicalId)Retrieves all of the versions of the specified FHIR Resource.<T extends Resource>
SingleResourceResult<T>FHIRPersistence. read(FHIRPersistenceContext context, java.lang.Class<T> resourceType, java.lang.String logicalId)Retrieves the most recent version of a FHIR Resource from the datastore.java.util.List<Resource>FHIRPersistence. readResourcesForRecords(java.util.List<ResourceChangeLogRecord> records)Read the resources for each of the change log records in the list, aligning the entries in the returned list to match the entries in the records list.intFHIRPersistence. reindex(FHIRPersistenceContext context, OperationOutcome.Builder operationOutcomeResult, java.time.Instant tstamp, java.util.List<java.lang.Long> indexIds, java.lang.String resourceLogicalId, boolean force)Initiates reindexing for either a specified list of index IDs, or a randomly chosen resource.java.util.List<java.lang.Long>FHIRPersistence. retrieveIndex(FHIRPersistenceContext context, int count, java.time.Instant notModifiedAfter, java.lang.Long afterIndexId, java.lang.String resourceTypeName)Retrieves a list of index IDs available for reindexing.MultiResourceResultFHIRPersistence. search(FHIRPersistenceContext context, java.lang.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.PayloadPersistenceResponseFHIRPersistence. storePayload(Resource resource, java.lang.String logicalId, int newVersionNumber, java.lang.String resourcePayloadKey)Offload payload storage to another provider.<T extends Resource>
SingleResourceResult<T>FHIRPersistence. update(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, java.lang.Class<T> resourceType, java.lang.String logicalId, java.lang.String versionId)Retrieves a specific version of a FHIR Resource from the datastore. -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.blob
Methods in org.linuxforhealth.fhir.persistence.blob that throw FHIRPersistenceException Modifier and Type Method Description voidFHIRPayloadPersistenceBlobImpl. deletePayload(java.lang.String resourceType, int resourceTypeId, java.lang.String logicalId, java.lang.Integer version, java.lang.String resourcePayloadKey)FHIRPayloadPersistenceFHIRPersistenceJDBCBlobFactory. getPayloadPersistence()<T extends Resource>
TFHIRPayloadPersistenceBlobImpl. readResource(java.lang.Class<T> resourceType, java.lang.String rowResourceTypeName, int resourceTypeId, java.lang.String logicalId, int version, java.lang.String resourcePayloadKey, java.util.List<java.lang.String> elements)<T extends Resource>
java.util.concurrent.CompletableFuture<ResourceResult<? extends Resource>>FHIRPayloadPersistenceBlobImpl. readResourceAsync(java.lang.Class<T> resourceType, java.lang.String rowResourceTypeName, int resourceTypeId, java.lang.String logicalId, int version, java.lang.String resourcePayloadKey, java.time.Instant lastUpdated, java.util.List<java.lang.String> elements)voidBlobDeletePayload. run(BlobManagedContainer client)Execute this command against the given client<T extends Resource>
java.util.concurrent.CompletableFuture<T>BlobReadPayload. run(java.lang.Class<T> resourceType, BlobManagedContainer client)Execute this command against the given clientjava.util.concurrent.CompletableFuture<PayloadPersistenceResult>BlobStorePayload. run(BlobManagedContainer client)Execute this command against the given clientPayloadPersistenceResponseFHIRPayloadPersistenceBlobImpl. storePayload(java.lang.String resourceType, int resourceTypeId, java.lang.String logicalId, int version, java.lang.String resourcePayloadKey, Resource resource) -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.cassandra
Methods in org.linuxforhealth.fhir.persistence.cassandra that throw FHIRPersistenceException Modifier and Type Method Description FHIRPayloadPersistenceFHIRPersistenceJDBCCassandraFactory. getPayloadPersistence() -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.cassandra.cql
Subclasses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.cassandra.cql Modifier and Type Class Description classCqlPersistenceExceptionAn exception which occurred processing a CQL operationMethods in org.linuxforhealth.fhir.persistence.cassandra.cql that throw FHIRPersistenceException Modifier and Type Method Description TICqlReader. run(com.datastax.oss.driver.api.core.CqlSession session)Execute the statement using the connection and return the value session connection to Cassandra -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.cassandra.payload
Methods in org.linuxforhealth.fhir.persistence.cassandra.payload that throw FHIRPersistenceException Modifier and Type Method Description voidFHIRPayloadPersistenceCassandraImpl. deletePayload(java.lang.String resourceType, int resourceTypeId, java.lang.String logicalId, java.lang.Integer version, java.lang.String resourcePayloadKey)<T extends Resource>
TFHIRPayloadPersistenceCassandraImpl. readResource(java.lang.Class<T> resourceType, java.lang.String rowResourceTypeName, int resourceTypeId, java.lang.String logicalId, int version, java.lang.String resourcePayloadKey, java.util.List<java.lang.String> elements)<T extends Resource>
java.util.concurrent.CompletableFuture<ResourceResult<? extends Resource>>FHIRPayloadPersistenceCassandraImpl. readResourceAsync(java.lang.Class<T> resourceType, java.lang.String rowResourceTypeName, int resourceTypeId, java.lang.String logicalId, int version, java.lang.String resourcePayloadKey, java.time.Instant lastUpdated, java.util.List<java.lang.String> elements)voidCqlDeletePayload. run(com.datastax.oss.driver.api.core.CqlSession session)Hard delete the payload records for the configured resource.<T extends Resource>
TCqlReadResource. run(java.lang.Class<T> resourceType, com.datastax.oss.driver.api.core.CqlSession session)Execute the CQL read query and return the Resource for the resourceTypeId, logicalId, version tuple.voidCqlStorePayload. run(com.datastax.oss.driver.api.core.CqlSession session)Store the resource into the Cassandra database.PayloadPersistenceResponseFHIRPayloadPersistenceCassandraImpl. storePayload(java.lang.String resourceType, int resourceTypeId, java.lang.String logicalId, int version, java.lang.String resourcePayloadKey, Resource resource) -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.cassandra.reconcile
Methods in org.linuxforhealth.fhir.persistence.cassandra.reconcile that throw FHIRPersistenceException Modifier and Type Method Description longCqlScanResources. run(com.datastax.oss.driver.api.core.CqlSession session)Execute the CQL read query and return the Resource for the resourceTypeId, logicalId, version tuple. -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.exception
Subclasses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.exception Modifier and Type Class Description classFHIRPersistenceDataAccessExceptionThis exception class represents failures encountered while attempting to access (read, write) data in the FHIR DB.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.classFHIRPersistenceVersionIdMismatchExceptionThis exception class represents an occurrence of a mismatch between the version id in the resource json vs.Methods in org.linuxforhealth.fhir.persistence.exception that return FHIRPersistenceException Modifier and Type Method Description FHIRPersistenceExceptionFHIRPersistenceException. withIssue(java.util.Collection<OperationOutcome.Issue> issues)FHIRPersistenceExceptionFHIRPersistenceException. withIssue(OperationOutcome.Issue... issues)FHIRPersistenceExceptionFHIRPersistenceProcessorException. withIssue(java.util.Collection<OperationOutcome.Issue> issues)FHIRPersistenceExceptionFHIRPersistenceProcessorException. withIssue(OperationOutcome.Issue... issues) -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.helper
Methods in org.linuxforhealth.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(java.lang.String factoryPropertyName)FHIRPersistencePersistenceHelper. getFHIRPersistenceImplementation()Returns an appropriate FHIRPersistance implementation according to the current configuration.FHIRPersistencePersistenceHelper. getFHIRPersistenceImplementation(java.lang.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(java.lang.String identifier)Identifies if a FHIRPersistence implementation can be found by using the given identifier.protected java.lang.StringFHIRPersistenceHelper. retrieveFactoryClassName(java.lang.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 org.linuxforhealth.fhir.persistence.index
Constructors in org.linuxforhealth.fhir.persistence.index that throw FHIRPersistenceException Constructor Description SearchParametersTransportAdapter(java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, int versionId, java.time.Instant lastUpdated, java.lang.String requestShard, java.lang.String parameterHash)Public constructor -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc
Methods in org.linuxforhealth.fhir.persistence.jdbc that throw FHIRPersistenceException Modifier and Type Method Description FHIRPersistenceFHIRPersistenceJDBCFactory. getInstance(SearchHelper searchHelper)static ResourceDAOFHIRResourceDAOFactory. getResourceDAO(java.sql.Connection connection, java.lang.String adminSchemaName, java.lang.String schemaName, FHIRDbFlavor flavor, javax.transaction.TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, ParameterTransactionDataImpl ptdi, java.lang.Short shardKey)Construct a new ResourceDAO implementation matching the database typestatic ResourceDAOFHIRResourceDAOFactory. getResourceDAO(java.sql.Connection connection, java.lang.String adminSchemaName, java.lang.String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache, java.lang.Short shardKey)Construct a new ResourceDAO implementation matching the database type -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.cache
Methods in org.linuxforhealth.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 org.linuxforhealth.fhir.persistence.jdbc.citus
Methods in org.linuxforhealth.fhir.persistence.jdbc.citus that throw FHIRPersistenceException Modifier and Type Method Description ResourceCitusResourceDAO. insert(Resource resource, java.util.List<ExtractedParameterValue> parameters, java.lang.String parameterHashB64, ParameterDAO parameterDao, java.lang.Integer ifNoneMatch) -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.connection
Methods in org.linuxforhealth.fhir.persistence.jdbc.connection with type parameters of type FHIRPersistenceException Modifier and Type Method Description static <XT extends FHIRPersistenceException>
XTFHIRDbHelper. severe(java.util.logging.Logger logger, XT fx, java.lang.String errorMessage, java.lang.Throwable cause)Log the exception message here along with the cause stack.static <XT extends FHIRPersistenceException>
XTFHIRDbHelper. severe(java.util.logging.Logger logger, XT fx, java.lang.Throwable cause)Convenience function to log the cause of an exception about to be thrown.Methods in org.linuxforhealth.fhir.persistence.jdbc.connection that throw FHIRPersistenceException Modifier and Type Method Description voidIFHIRTransactionAdapterCallback. beforeCommit()Callback invoked just before the current transaction commitsvoidFHIRTestTransactionAdapter. begin()voidFHIRUserTransactionAdapter. begin()If a transaction has not yet been started on this thread, then start one.protected voidFHIRDbConnectionStrategyBase. configure(java.sql.Connection connection, java.lang.String tenantId, java.lang.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(java.util.function.Supplier<T> s)Call the supplier function within a begin/endprotected java.sql.ConnectionFHIRDbConnectionStrategyBase. getConnection(javax.sql.DataSource datasource, java.lang.String tenantId, java.lang.String dsId)Get a connection configured for the given tenant and datasourceIdbooleanFHIRTestTransactionAdapter. hasBegun()booleanFHIRUserTransactionAdapter. hasBegun()voidFHIRTestTransactionAdapter. setRollbackOnly()voidFHIRUserTransactionAdapter. setRollbackOnly() -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.dao
Methods in org.linuxforhealth.fhir.persistence.jdbc.dao that throw FHIRPersistenceException Modifier and Type Method Description ResourceEraseResourceDAO. insert(Resource resource, java.util.List<ExtractedParameterValue> parameters, java.lang.String parameterHashB64, ParameterDAO parameterDao, java.lang.Integer ifNoneMatch)ResourceReindexResourceDAO. insert(Resource resource, java.util.List<ExtractedParameterValue> parameters, java.lang.String parameterHashB64, ParameterDAO parameterDao, java.lang.Integer ifNoneMatch)voidEraseResourceDAO. runInDao(long erasedResourceGroupId)Executes the SQL logic as part of the dao rather than via a stored procedure/function. -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.dao.api
Methods in org.linuxforhealth.fhir.persistence.jdbc.dao.api that throw FHIRPersistenceException Modifier and Type Method Description intParameterDAO. acquireParameterNameId(java.lang.String parameterName)Acquire and return the id associated with the passed parameter name.java.lang.LongJDBCIdentityCache. getCanonicalId(java.lang.String canonicalValue)Get the database id for the given canonical value.java.lang.IntegerJDBCIdentityCache. getCodeSystemId(java.lang.String codeSystem)Get the database id for the named code-system.java.lang.LongJDBCIdentityCache. getLogicalResourceId(java.lang.String resourceType, java.lang.String logicalId)Get the database id for the given (resourceType, logicalId) tuple.java.util.List<java.lang.Long>JDBCIdentityCache. getLogicalResourceIdList(java.lang.String logicalId)Get a list of logical_resource_id values matching the given logicalId without knowing the resource type.java.util.Set<java.lang.Long>JDBCIdentityCache. getLogicalResourceIds(java.util.Collection<ResourceReferenceValue> referenceValues)Get the logical_resource_ids for the given referenceValues.java.lang.IntegerJDBCIdentityCache. getParameterNameId(java.lang.String parameterName)Get the database id for the given parameter name.java.lang.IntegerJDBCIdentityCache. getResourceTypeId(java.lang.String resourceType)Get the database id for the named resourceType.java.util.List<java.lang.Integer>JDBCIdentityCache. getResourceTypeIds()Get the list of all resource type ids.java.lang.StringJDBCIdentityCache. getResourceTypeName(java.lang.Integer resourceTypeId)Get the resource type name for the resourceTypeId.java.util.List<java.lang.String>JDBCIdentityCache. getResourceTypeNames()Get the list of all resource type names.ResourceResourceDAO. insert(Resource resource, java.util.List<ExtractedParameterValue> parameters, java.lang.String parameterHashB64, ParameterDAO parameterDao, java.lang.Integer ifNoneMatch)Inserts the passed Resource DTO and its associated search parameters to the appropriate FHIR resource tables. -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.dao.impl
Methods in org.linuxforhealth.fhir.persistence.jdbc.dao.impl with type parameters of type FHIRPersistenceException Modifier and Type Method Description protected <XT extends FHIRPersistenceException>
XTFHIRDbDAOImpl. severe(java.util.logging.Logger logger, XT fx, java.lang.String errorMessage, java.lang.Throwable cause)Log the exception message here along with the cause stack.protected <XT extends FHIRPersistenceException>
XTFHIRDbDAOImpl. severe(java.util.logging.Logger logger, XT fx, java.lang.Throwable cause)Convenience function to log the cause of an exception about to be thrown.Methods in org.linuxforhealth.fhir.persistence.jdbc.dao.impl that throw FHIRPersistenceException Modifier and Type Method Description intParameterDAOImpl. acquireParameterNameId(java.lang.String parameterName)Acquire and return the id associated with the passed parameter name.intFetchResourcePayloadsDAO. count(java.sql.Connection c)Get a count of the resources matching the filter predicates...for debugging...slows things down a lotjava.lang.LongJDBCIdentityCacheImpl. getCanonicalId(java.lang.String canonicalValue)java.lang.IntegerJDBCIdentityCacheImpl. getCodeSystemId(java.lang.String codeSystemName)java.lang.LongJDBCIdentityCacheImpl. getLogicalResourceId(java.lang.String resourceType, java.lang.String logicalId)java.util.List<java.lang.Long>JDBCIdentityCacheImpl. getLogicalResourceIdList(java.lang.String logicalId)java.util.Set<java.lang.Long>JDBCIdentityCacheImpl. getLogicalResourceIds(java.util.Collection<ResourceReferenceValue> referenceValues)java.lang.IntegerJDBCIdentityCacheImpl. getParameterNameId(java.lang.String parameterName)java.lang.IntegerJDBCIdentityCacheImpl. getResourceTypeId(java.lang.String resourceType)protected java.lang.IntegerResourceDAOImpl. getResourceTypeId(java.lang.String resourceType)Get the value of the database id for the given resourceType from the JDBCIdentityCache.java.util.List<java.lang.Integer>JDBCIdentityCacheImpl. getResourceTypeIds()java.lang.StringJDBCIdentityCacheImpl. getResourceTypeName(java.lang.Integer resourceTypeId)java.util.List<java.lang.String>JDBCIdentityCacheImpl. getResourceTypeNames()voidFetchPayloadsForIdsDAO. run(java.sql.Connection c)Fetch the payloads using the given connectionjava.util.List<ResourceChangeLogRecord>FetchResourceChangesDAO. run(java.sql.Connection c)Run the DAO command on the database connectionResourcePayloadFetchResourcePayloadsDAO. run(java.sql.Connection c)Run the query, feeding each result row to the consumerjava.util.List<java.lang.Long>RetrieveIndexDAO. run(java.sql.Connection c)Run the DAO command on the database connection.voidParameterTransportVisitor. visit(CompositeParmVal compositeParameter)voidParameterTransportVisitor. visit(DateParmVal dateParameter)voidParameterTransportVisitor. visit(LocationParmVal locationParameter)voidParameterTransportVisitor. visit(NumberParmVal numberParameter)voidParameterTransportVisitor. visit(QuantityParmVal quantityParameter)voidParameterTransportVisitor. visit(ReferenceParmVal rpv)voidParameterTransportVisitor. visit(StringParmVal stringParameter)voidParameterTransportVisitor. visit(TokenParmVal tokenParameter) -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.derby
Methods in org.linuxforhealth.fhir.persistence.jdbc.derby that throw FHIRPersistenceException Modifier and Type Method Description ResourceDerbyResourceDAO. insert(Resource resource, java.util.List<ExtractedParameterValue> parameters, java.lang.String parameterHashB64, ParameterDAO parameterDao, java.lang.Integer ifNoneMatch) -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.domain
Methods in org.linuxforhealth.fhir.persistence.jdbc.domain that throw FHIRPersistenceException Modifier and Type Method Description QueryDataSearchQueryRenderer. addCanonicalParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addCanonicalParam(T query, java.lang.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, java.lang.String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addDateParam(T queryData, java.lang.String resourceType, QueryParameter queryParm)Filter the query using the given date parametervoidSearchQueryRenderer. addFilter(QueryData queryData, java.lang.String resourceType, QueryParameter currentParm)voidSearchQueryVisitor. addFilter(T currentSubQuery, java.lang.String resourceType, QueryParameter currentParm)Add a filter predicate to the given chained sub-query element.protected voidSearchQueryRenderer. addIdFilter(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)Add a filter on the LOGICAL_ID for the given query parameter valuesQueryDataSearchQueryRenderer. addIncludeFilter(QueryData queryData, InclusionParameter inclusionParm, java.util.List<java.lang.Long> logicalResourceIds)TSearchQueryVisitor. addIncludeFilter(T query, InclusionParameter inclusionParm, java.util.List<java.lang.Long> logicalResourceIds)QueryDataSearchQueryRenderer. addInclusionParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addInclusionParam(T query, java.lang.String resourceType, QueryParameter queryParm)Special case to handle inclusion related to compartment-based searchesQueryDataSearchQueryRenderer. addLocationParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addLocationParam(T queryData, java.lang.String resourceType, QueryParameter queryParm)Filter the query using the given location (lat/lng) paramQueryDataSearchQueryRenderer. addLocationPosition(QueryData queryData, java.util.List<QueryParameter> queryParameters)TSearchQueryVisitor. addLocationPosition(T queryData, java.util.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, java.lang.String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addNumberParam(T queryData, java.lang.String resourceType, QueryParameter queryParm)Filter the query using the given number parameterQueryDataSearchQueryRenderer. addQuantityParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addQuantityParam(T queryData, java.lang.String resourceType, QueryParameter queryParm)Filter the query using the given quantity parameterQueryDataSearchQueryRenderer. addReferenceParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addReferenceParam(T queryData, java.lang.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, java.util.List<java.lang.Long> logicalResourceIds)TSearchQueryVisitor. addRevIncludeFilter(T query, InclusionParameter inclusionParm, java.util.List<java.lang.Long> logicalResourceIds)QueryDataSearchQueryRenderer. addSecurityParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addSecurityParam(T query, java.lang.String resourceType, QueryParameter queryParm)Filter the query using the given security query parametervoidSearchQueryRenderer. addSortParam(QueryData queryData, java.lang.String code, SearchConstants.Type type, Sort.Direction direction)voidSearchQueryVisitor. addSortParam(T queryData, java.lang.String code, SearchConstants.Type type, Sort.Direction direction)Add the given sort parameter to the sort queryQueryDataSearchQueryRenderer. addStringParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addStringParam(T query, java.lang.String resourceType, QueryParameter queryParm)Filter the query using the given string parameterQueryDataSearchQueryRenderer. addTagParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addTagParam(T query, java.lang.String resourceType, QueryParameter queryParm)Filter the query using the given tag query parameterQueryDataSearchQueryRenderer. addTokenParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)TSearchQueryVisitor. addTokenParam(T query, java.lang.String resourceType, QueryParameter queryParm)Filter the query using the given parameter id and token valueQueryDataSearchQueryRenderer. addWholeSystemDataFilter(QueryData queryData, java.lang.String resourceType, java.util.List<java.lang.Long> logicalResourceIds)TSearchQueryVisitor. addWholeSystemDataFilter(T query, java.lang.String resourceType, java.util.List<java.lang.Long> logicalResourceIds)QueryDataSearchQueryRenderer. addWholeSystemResourceTypeFilter(QueryData queryData, java.util.List<java.lang.Integer> resourceTypeIds)TSearchQueryVisitor. addWholeSystemResourceTypeFilter(T query, java.util.List<java.lang.Integer> resourceTypeIds)protected longSearchQueryRenderer. getCanonicalId(java.lang.String canonicalValue)Get the id for the given canonicalValue (cache lookup).protected intSearchQueryRenderer. getCodeSystemId(java.lang.String codeSystemName)Get the id for the given code system name (cache lookup)protected java.lang.LongSearchQueryRenderer. getCommonTokenValueId(java.lang.String system, java.lang.String code)Get the common token value id matching the unique tuple {system, code}protected java.util.List<java.lang.Long>SearchQueryRenderer. getCommonTokenValueIdList(java.lang.String code)Get a list of common token values matching the given codeprotected java.util.Set<java.lang.Long>SearchQueryRenderer. getCommonTokenValueIds(java.util.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. getIdentifierFilter(QueryParameter queryParm, java.lang.String paramAlias)protected WhereFragmentSearchQueryRenderer. getLocationFilter(QueryParameter queryParm, java.lang.String paramAlias)Add a filter predicate to the given exists sub-queryprotected java.util.List<java.lang.Long>SearchQueryRenderer. getLogicalResourceIdList(java.lang.String logicalId)Obtain the list of logical_resource_id values that match the given logicalId.protected java.util.Set<java.lang.Long>SearchQueryRenderer. getLogicalResourceIds(java.util.Collection<ResourceReferenceValue> referenceValues)Obtain the logical_resource_id values for each of the given ResourceReferenceValues.protected WhereFragmentSearchQueryRenderer. getNumberFilter(QueryParameter queryParm, java.lang.String paramAlias)Get a filter predicate for the given number query parameterprotected intSearchQueryRenderer. getParameterNameId(java.lang.String parameterName)Get the id for the given parameter name (cache lookup)protected WhereFragmentSearchQueryRenderer. getQuantityFilter(QueryParameter queryParm, java.lang.String paramAlias)Add a filter predicate to the given exists sub-queryprotected WhereFragmentSearchQueryRenderer. getReferenceFilter(QueryParameter queryParm, java.lang.String paramAlias)Create a filter predicate for the given reference query parameterprotected WhereFragmentSearchQueryRenderer. getReferenceFilter(QueryParameter queryParm, java.lang.String paramAlias, java.util.List<java.lang.Long> logicalResourceIdList)protected WhereFragmentSearchQueryRenderer. getReferenceStrFilter(QueryParameter queryParm, java.lang.String paramAlias, java.util.List<java.lang.String> ambiguousResourceReferenceTokenValues)Create a filter predicate for the given reference query parameter using the ambiguousprotected java.lang.StringSearchQueryRenderer. getSortParameterTableName(java.lang.String resourceType, java.lang.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, java.lang.String paramAlias)Add a filter expression to the given parameter sub-query (which is used as an EXISTS clause)protected WhereFragmentSearchQueryRenderer. getTokenFilter(QueryParameter queryParm, java.lang.String paramAlias)Get the filter predicate for the given token query parameter.protected WhereFragmentSearchQueryRenderer. paramFilter(QueryParameter queryParm, java.lang.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 org.linuxforhealth.fhir.persistence.jdbc.dto
Methods in org.linuxforhealth.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 org.linuxforhealth.fhir.persistence.jdbc.exception
Subclasses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.exception Modifier and Type Class Description 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 org.linuxforhealth.fhir.persistence.jdbc.impl
Methods in org.linuxforhealth.fhir.persistence.jdbc.impl that throw FHIRPersistenceException Modifier and Type Method Description voidFHIRPersistenceJDBCImpl. beforeCommit()protected java.util.List<Resource>FHIRPersistenceJDBCImpl. buildSortedResourceDTOList(ResourceDAO resourceDao, java.lang.Class<? extends Resource> resourceType, java.util.List<java.lang.Long> sortedIdList, boolean includeResourceData)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.java.util.List<ResourceChangeLogRecord>FHIRPersistenceJDBCImpl. changes(FHIRPersistenceContext context, int resourceCount, java.time.Instant sinceLastModified, java.time.Instant beforeLastModified, java.lang.Long changeIdMarker, java.util.List<java.lang.String> resourceTypeNames, boolean excludeTransactionTimeoutWindow, HistorySortOrder historySortOrder)<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. create(FHIRPersistenceContext context, T updatedResource)<T extends Resource>
voidFHIRPersistenceJDBCImpl. delete(FHIRPersistenceContext context, java.lang.Class<T> resourceType, java.lang.String logicalId, int versionId, Instant lastUpdated)voidFHIRPersistenceJDBCImpl. doCachePrefill(FHIRPersistenceContext context, java.sql.Connection connection)Prefill the cachesResourceEraseRecordFHIRPersistenceJDBCImpl. erase(FHIRPersistenceContext context, EraseDTO eraseDto)ResourcePayloadFHIRPersistenceJDBCImpl. fetchResourcePayloads(java.lang.Class<? extends Resource> resourceType, java.time.Instant fromLastModified, java.time.Instant toLastModified, java.util.function.Function<ResourcePayload,java.lang.Boolean> processor)OperationOutcomeFHIRPersistenceJDBCImpl. getHealth()MultiResourceResultFHIRPersistenceJDBCImpl. history(FHIRPersistenceContext context, java.lang.Class<? extends Resource> resourceType, java.lang.String logicalId)voidFHIRPersistenceJDBCImpl. onCommit(java.util.Collection<ResourceTokenValueRec> records, java.util.Collection<ResourceReferenceValueRec> referenceRecords, java.util.Collection<ResourceProfileRec> profileRecs, java.util.Collection<ResourceTokenValueRec> tagRecs, java.util.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, java.lang.Class<T> resourceType, java.lang.String logicalId)java.util.List<Resource>FHIRPersistenceJDBCImpl. readResourcesForRecords(java.util.List<ResourceChangeLogRecord> records)intFHIRPersistenceJDBCImpl. reindex(FHIRPersistenceContext context, OperationOutcome.Builder operationOutcomeResult, java.time.Instant tstamp, java.util.List<java.lang.Long> indexIds, java.lang.String resourceLogicalId, boolean force)java.util.List<java.lang.Long>FHIRPersistenceJDBCImpl. retrieveIndex(FHIRPersistenceContext context, int count, java.time.Instant notModifiedAfter, java.lang.Long afterIndexId, java.lang.String resourceTypeName)MultiResourceResultFHIRPersistenceJDBCImpl. search(FHIRPersistenceContext context, java.lang.Class<? extends Resource> resourceType)Search query implementation based on the 1385 new query builder.PayloadPersistenceResponseFHIRPersistenceJDBCImpl. storePayload(Resource resource, java.lang.String logicalId, int newVersionNumber, java.lang.String resourcePayloadKey)<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. update(FHIRPersistenceContext context, T resource)<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. vread(FHIRPersistenceContext context, java.lang.Class<T> resourceType, java.lang.String logicalId, java.lang.String versionId) -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.postgres
Methods in org.linuxforhealth.fhir.persistence.jdbc.postgres that throw FHIRPersistenceException Modifier and Type Method Description ResourcePostgresResourceDAO. insert(Resource resource, java.util.List<ExtractedParameterValue> parameters, java.lang.String parameterHashB64, ParameterDAO parameterDao, java.lang.Integer ifNoneMatch)ResourcePostgresResourceNoProcDAO. insert(Resource resource, java.util.List<ExtractedParameterValue> parameters, java.lang.String parameterHashB64, ParameterDAO parameterDao, java.lang.Integer ifNoneMatch) -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.util
Methods in org.linuxforhealth.fhir.persistence.jdbc.util that throw FHIRPersistenceException Modifier and Type Method Description static ResourceProfileRecCanonicalSupport. makeResourceProfileRec(java.lang.String parameterName, java.lang.String resourceType, long resourceTypeId, long logicalResourceId, java.lang.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 org.linuxforhealth.fhir.persistence.jdbc.util.type
Methods in org.linuxforhealth.fhir.persistence.jdbc.util.type that throw FHIRPersistenceException Modifier and Type Method Description voidNewQuantityParmBehaviorUtil. addSystemIfPresent(WhereFragment whereClauseSegment, java.lang.String tableAlias, java.lang.String system)adds the system if present.voidNewNumberParmBehaviorUtil. executeBehavior(WhereFragment whereClauseSegment, QueryParameter queryParm, java.lang.String tableAlias)Add the filter predicate logic to the given whereClauseSegmentvoidNewQuantityParmBehaviorUtil. executeBehavior(WhereFragment whereClauseSegment, QueryParameter queryParm, java.lang.String tableAlias) -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.params.api
Methods in org.linuxforhealth.fhir.persistence.params.api that throw FHIRPersistenceException Modifier and Type Method Description abstract voidBatchParameterValue. apply(IBatchParameterProcessor processor)Apply this parameter value to the target processorvoidIParamValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, DateParameter p)Process the given DateParameter pvoidIParamValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, LocationParameter p)Process the given LocationParameter pvoidIParamValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, NumberParameter p)Process the given NumberParameter pvoidIParamValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ProfileParameter p)Process the given ProfileParameter pvoidIParamValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, QuantityParameter p)Process the given QuantityParameter pvoidIParamValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ReferenceParameter p)Process the given ReferenceParameter pvoidIParamValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, SecurityParameter p)Proces the given SecurityParameter pvoidIParamValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, StringParameter p)voidIParamValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, TagParameter p)Process the given TagParameter pvoidIParamValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, TokenParameter p)Process the given TokenParameter pvoidIBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, DateParameter parameter)voidIBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, LocationParameter parameter)voidIBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, NumberParameter parameter)voidIBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, ProfileParameter parameter, CommonCanonicalValue commonCanonicalValue)voidIBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, QuantityParameter parameter, CodeSystemValue codeSystemValue)voidIBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, ReferenceParameter parameter, LogicalResourceIdentValue refLogicalResourceId)voidIBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, SecurityParameter parameter, CommonTokenValue commonTokenValue)voidIBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, StringParameter parameter)voidIBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, TagParameter parameter, CommonTokenValue commonTokenValue)voidIBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, TokenParameter parameter, CommonTokenValue commonTokenValue)voidIMessageHandler. process(java.util.List<java.lang.String> messages)Ask the handler to process the list of messages.voidIParamValueCollector. publish(IParamValueProcessor processor)Publish the values held in this collector using the given processorvoidIParamValueProcessor. publish(BatchParameterValue bpv)Publish the given parameter value (which by now should have any FK references it needs)voidIParamValueProcessor. pushBatch()Push any data we've accumulated so far.voidIParamValueProcessor. resolveCanonicalValues(java.util.List<CommonCanonicalValue> unresolvedCanonicalValues, java.util.Map<CommonCanonicalValueKey,CommonCanonicalValue> commonCanonicalValueMap)voidIParamValueProcessor. resolveCommonTokenValues(java.util.List<CommonTokenValue> unresolvedTokenValues, java.util.Map<CommonTokenValueKey,CommonTokenValue> commonTokenValueMap)voidIParamValueProcessor. resolveLogicalResourceIdents(java.util.List<LogicalResourceIdentValue> unresolvedLogicalResourceIdents, java.util.Map<LogicalResourceIdentKey,LogicalResourceIdentValue> logicalResourceIdentMap)Make sure we have values for all the logical_resource_ident values we have collected in the current batch.voidIParamValueProcessor. resolveParameterNames(java.util.List<ParameterNameValue> unresolvedParameterNames, java.util.Map<java.lang.String,ParameterNameValue> parameterNameMap)voidIParamValueProcessor. resolveSystemValues(java.util.List<CodeSystemValue> unresolvedSystemValues, java.util.Map<java.lang.String,CodeSystemValue> codeSystemValueMap) -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.params.batch
Methods in org.linuxforhealth.fhir.persistence.params.batch that throw FHIRPersistenceException Modifier and Type Method Description voidBatchDateParameter. apply(IBatchParameterProcessor processor)voidBatchLocationParameter. apply(IBatchParameterProcessor processor)voidBatchNumberParameter. apply(IBatchParameterProcessor processor)voidBatchProfileParameter. apply(IBatchParameterProcessor processor)voidBatchQuantityParameter. apply(IBatchParameterProcessor processor)voidBatchReferenceParameter. apply(IBatchParameterProcessor processor)voidBatchSecurityParameter. apply(IBatchParameterProcessor processor)voidBatchStringParameter. apply(IBatchParameterProcessor processor)voidBatchTagParameter. apply(IBatchParameterProcessor processor)voidBatchTokenParameter. apply(IBatchParameterProcessor processor)voidParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, DateParameter p)voidParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, LocationParameter p)voidParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, NumberParameter p)voidParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ProfileParameter p)voidParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, QuantityParameter p)voidParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ReferenceParameter p)voidParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, SecurityParameter p)voidParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, StringParameter p)voidParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, TagParameter p)voidParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, TokenParameter p)voidParameterValueCollector. publish(IParamValueProcessor processor) -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.params.database
Methods in org.linuxforhealth.fhir.persistence.params.database that throw FHIRPersistenceException Modifier and Type Method Description protected voidPlainParamValueProcessor. addMissingCodeSystems(java.util.List<CodeSystemValue> missing)These code systems weren't found in the database, so we need to try and add them.protected voidDistributedPostgresParamValueProcessor. addMissingCommonCanonicalValues(java.util.List<CommonCanonicalValue> missing)protected voidPlainDerbyParamValueProcessor. addMissingCommonCanonicalValues(java.util.List<CommonCanonicalValue> missing)protected voidPlainParamValueProcessor. addMissingCommonCanonicalValues(java.util.List<CommonCanonicalValue> missing)Add the values we think are missing from the database.protected java.util.List<CommonTokenValue>DistributedPostgresParamValueProcessor. addMissingCommonTokenValues(java.util.List<CommonTokenValue> missing, java.util.Map<CommonTokenValueKey,CommonTokenValue> commonTokenValueMap)protected voidPlainDerbyParamValueProcessor. addMissingCommonTokenValues(java.util.List<CommonTokenValue> missing)protected voidPlainParamValueProcessor. addMissingCommonTokenValues(java.util.List<CommonTokenValue> missing)Add the values we think are missing from the database.protected java.util.List<CommonTokenValue>PlainPostgresParamValueProcessor. addMissingCommonTokenValues(java.util.List<CommonTokenValue> missing, java.util.Map<CommonTokenValueKey,CommonTokenValue> commonTokenValueMap)PostgreSQL-specific approach to insert new values into common_token_valuesprotected voidPlainDerbyParamValueProcessor. addMissingLogicalResourceIdents(java.util.List<LogicalResourceIdentValue> missing)protected voidPlainParamValueProcessor. addMissingLogicalResourceIdents(java.util.List<LogicalResourceIdentValue> missing)These logical_resource_ident values weren't found in the database, so we need to try and add them.protected java.lang.IntegerPlainDerbyParamValueProcessor. createParameterName(java.lang.String parameterName)protected java.lang.IntegerPlainParamValueProcessor. createParameterName(java.lang.String parameterName)Create the parameter name using the stored procedure which handles any concurrency issue we may haveprotected java.util.List<CommonCanonicalValue>PlainDerbyParamValueProcessor. fetchCanonicalIds(java.util.List<CommonCanonicalValue> unresolved, java.util.Map<CommonCanonicalValueKey,CommonCanonicalValue> commonCanonicalValueMap)protected java.util.List<CommonCanonicalValue>PlainParamValueProcessor. fetchCanonicalIds(java.util.List<CommonCanonicalValue> unresolved, java.util.Map<CommonCanonicalValueKey,CommonCanonicalValue> commonCanonicalValueMap)Fetch the common_canonical_id values for the given list of CommonCanonicalValue objects.protected java.util.List<CodeSystemValue>PlainDerbyParamValueProcessor. fetchCodeSystemIds(java.util.List<CodeSystemValue> unresolved, java.util.Map<java.lang.String,CodeSystemValue> codeSystemValueMap)protected java.util.List<CodeSystemValue>PlainParamValueProcessor. fetchCodeSystemIds(java.util.List<CodeSystemValue> unresolved, java.util.Map<java.lang.String,CodeSystemValue> codeSystemValueMap)Fetch all the code_system_id values for the given list of CodeSystemValue objects.protected java.util.List<CommonTokenValue>PlainDerbyParamValueProcessor. fetchCommonTokenValueIds(java.util.List<CommonTokenValue> unresolved, java.util.Map<CommonTokenValueKey,CommonTokenValue> commonTokenValueMap)protected java.util.List<CommonTokenValue>PlainParamValueProcessor. fetchCommonTokenValueIds(java.util.List<CommonTokenValue> unresolved, java.util.Map<CommonTokenValueKey,CommonTokenValue> commonTokenValueMap)Fetch the common_token_value_id values for the given list of CommonTokenValue objects.protected java.util.List<LogicalResourceIdentValue>PlainDerbyParamValueProcessor. fetchLogicalResourceIdentIds(java.util.List<LogicalResourceIdentValue> unresolved, java.util.Map<LogicalResourceIdentKey,LogicalResourceIdentValue> logicalResourceIdentMap)protected java.util.List<LogicalResourceIdentValue>PlainParamValueProcessor. fetchLogicalResourceIdentIds(java.util.List<LogicalResourceIdentValue> unresolved, java.util.Map<LogicalResourceIdentKey,LogicalResourceIdentValue> logicalResourceIdentMap)Fetch logical_resource_id values for the given list of LogicalResourceIdent objects.voidPlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, DateParameter p)voidPlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, LocationParameter p)voidPlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, NumberParameter p)voidPlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, ProfileParameter p, CommonCanonicalValue commonCanonicalValue)voidPlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, QuantityParameter p, CodeSystemValue codeSystemValue)voidPlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, ReferenceParameter parameter, LogicalResourceIdentValue refLogicalResourceId)voidPlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, SecurityParameter p, CommonTokenValue commonTokenValue)voidPlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, StringParameter parameter)voidPlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, TagParameter p, CommonTokenValue commonTokenValue)voidPlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, TokenParameter p, CommonTokenValue commonTokenValue)voidPlainParamValueProcessor. publish(BatchParameterValue bpv)voidPlainBatchParameterProcessor. pushBatch()Push any statements that have been batched but not yet executedvoidPlainParamValueProcessor. pushBatch()voidPlainParamValueProcessor. resolveCanonicalValues(java.util.List<CommonCanonicalValue> unresolvedCanonicalValues, java.util.Map<CommonCanonicalValueKey,CommonCanonicalValue> commonCanonicalValueMap)voidPlainParamValueProcessor. resolveCommonTokenValues(java.util.List<CommonTokenValue> unresolvedTokenValues, java.util.Map<CommonTokenValueKey,CommonTokenValue> commonTokenValueMap)Make sure we have values for all the common_token_value records we have collected in the current batchvoidPlainPostgresParamValueProcessor. resolveCommonTokenValues(java.util.List<CommonTokenValue> unresolvedTokenValues, java.util.Map<CommonTokenValueKey,CommonTokenValue> commonTokenValueMap)voidPlainParamValueProcessor. resolveLogicalResourceIdents(java.util.List<LogicalResourceIdentValue> unresolvedLogicalResourceIdents, java.util.Map<LogicalResourceIdentKey,LogicalResourceIdentValue> logicalResourceIdentMap)voidPlainPostgresParamValueProcessor. resolveLogicalResourceIdents(java.util.List<LogicalResourceIdentValue> unresolvedLogicalResourceIdents, java.util.Map<LogicalResourceIdentKey,LogicalResourceIdentValue> logicalResourceIdentMap)voidPlainParamValueProcessor. resolveParameterNames(java.util.List<ParameterNameValue> unresolvedParameterNames, java.util.Map<java.lang.String,ParameterNameValue> parameterNameMap)voidPlainParamValueProcessor. resolveSystemValues(java.util.List<CodeSystemValue> unresolvedSystemValues, java.util.Map<java.lang.String,CodeSystemValue> codeSystemValueMap)Make sure we have values for all the code_systems we have collected in the current batch -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.payload
Methods in org.linuxforhealth.fhir.persistence.payload that throw FHIRPersistenceException Modifier and Type Method Description voidFHIRPayloadPersistence. deletePayload(java.lang.String resourceType, int resourceTypeId, java.lang.String logicalId, java.lang.Integer version, java.lang.String resourcePayloadKey)Delete the payload item.<T extends Resource>
TPayloadReader. read(java.lang.Class<T> resourceType, java.io.InputStream is)Read the resource of type T from theInputStream.<T extends Resource>
TPayloadReaderImpl. read(java.lang.Class<T> resourceType, java.io.InputStream inputStream)<T extends Resource>
TFHIRPayloadPersistence. readResource(java.lang.Class<T> resourceType, java.lang.String rowResourceTypeName, int resourceTypeId, java.lang.String logicalId, int version, java.lang.String resourcePayloadKey, java.util.List<java.lang.String> elements)Retrieve the payload data for the given resourceTypeId, logicalId and version.<T extends Resource>
java.util.concurrent.CompletableFuture<ResourceResult<? extends Resource>>FHIRPayloadPersistence. readResourceAsync(java.lang.Class<T> resourceType, java.lang.String rowResourceTypeName, int resourceTypeId, java.lang.String logicalId, int version, java.lang.String resourcePayloadKey, java.time.Instant lastUpdated, java.util.List<java.lang.String> elements)Async retrieval of the payload data for the given resourceTypeId, logicalId and version.PayloadPersistenceResponseFHIRPayloadPersistence. storePayload(java.lang.String resourceTypeName, int resourceTypeId, java.lang.String logicalId, int version, java.lang.String resourcePayloadKey, Resource resource)Store the payload. -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.util
Methods in org.linuxforhealth.fhir.persistence.util that throw FHIRPersistenceException Modifier and Type Method Description protected abstract T1AbstractQueryBuilder. buildLocationQuerySegment(java.lang.String parmName, java.util.List<Bounding> boundingAreas, java.lang.String paramTableAlias)Deprecated.Builds a query segment for the passed parameter name using the geospatial data contained with the passed BoundingBoxTQueryBuilder. buildQuery(java.lang.Class<?> resourceType, FHIRSearchContext searchContext)Deprecated.Build and return query for the passed resource type and search parameters.static FHIRHistoryContextFHIRPersistenceUtil. parseHistoryParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters, boolean lenient)static FHIRSystemHistoryContextFHIRPersistenceUtil. parseSystemHistoryParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters, boolean lenient, ResourcesConfigAdapter resourcesConfig)Parse history parameters into a FHIRHistoryContext using the passed ResourcesConfigAdapterprotected abstract T1AbstractQueryBuilder. processCompositeParm(java.lang.Class<?> resourceType, QueryParameter queryParm)Deprecated.Creates a query segment for a Composite type parameter.protected T1AbstractQueryBuilder. processLocationPosition(java.util.List<QueryParameter> queryParameters, java.lang.String paramTableAlias)Deprecated.This method executes special logic for a Token type query that maps to a LocationPosition data type.protected abstract T1AbstractQueryBuilder. processNumberParm(java.lang.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(java.lang.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 org.linuxforhealth.fhir.server.resources
Methods in org.linuxforhealth.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 org.linuxforhealth.fhir.server.spi.interceptor
Subclasses of FHIRPersistenceException in org.linuxforhealth.fhir.server.spi.interceptor Modifier and Type Class Description classFHIRPersistenceInterceptorException -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.server.spi.operation
Methods in org.linuxforhealth.fhir.server.spi.operation that throw FHIRPersistenceException 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 FHIRPersistenceException in org.linuxforhealth.fhir.server.util
Methods in org.linuxforhealth.fhir.server.util that throw FHIRPersistenceException 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)
-