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 void
FHIRPersistenceTransaction. 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.void
FHIRPersistenceTransaction. end()
End the current thread's transaction.default ResourceEraseRecord
FHIRPersistence. erase(FHIRPersistenceContext context, EraseDTO eraseDto)
Erases part or a whole of a resource in the data layer.ResourcePayload
FHIRPersistence. 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.OperationOutcome
FHIRPersistence. getHealth()
Returns an OperationOutcome indicating the current status of the persistence store / backend.FHIRPersistence
FHIRPersistenceFactory. getInstance(SearchHelper searchHelper)
Returns an instance of a concrete implementation of the FHIRPersistence interface.FHIRPersistence
PropertyBasedFHIRPersistenceFactory. getInstance(java.util.Properties properties)
static int
FHIRPersistenceSupport. getMetaVersionId(Resource resource)
Obtain the versionId value from the Resource meta element, converting to an int for use by the persistence layerstatic Instant
FHIRPersistenceSupport. getNewLastUpdatedInstant(java.time.Instant currentLastUpdated)
Get the lastUpdated time to use for the next version of a resource.default FHIRPayloadPersistence
FHIRPersistenceFactory. getPayloadPersistence()
Returns an instance of a concrete implementation of the FHIRPayloadPersistence interface which may be used by FHIRPersistence implementations to handle storage and retrieval of FHIR resource payloads.boolean
FHIRPersistenceTransaction. hasBegun()
Determine if the transaction status is currently activeMultiResourceResult
FHIRPersistence. 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.int
FHIRPersistence. 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.MultiResourceResult
FHIRPersistence. search(FHIRPersistenceContext context, java.lang.Class<? extends Resource> resourceType)
Performs a search on the specified target resource type using the specified search parameters.void
FHIRPersistenceTransaction. setRollbackOnly()
Modify the transaction associated with the current thread such that the only possible outcome of the transaction is to roll back the transaction.PayloadPersistenceResponse
FHIRPersistence. 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 void
FHIRPayloadPersistenceBlobImpl. deletePayload(java.lang.String resourceType, int resourceTypeId, java.lang.String logicalId, java.lang.Integer version, java.lang.String resourcePayloadKey)
FHIRPayloadPersistence
FHIRPersistenceJDBCBlobFactory. 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)
void
BlobDeletePayload. 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 clientPayloadPersistenceResponse
FHIRPayloadPersistenceBlobImpl. 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 FHIRPayloadPersistence
FHIRPersistenceJDBCCassandraFactory. 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 class
CqlPersistenceException
An exception which occurred processing a CQL operationMethods in org.linuxforhealth.fhir.persistence.cassandra.cql that throw FHIRPersistenceException Modifier and Type Method Description T
ICqlReader. 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 void
FHIRPayloadPersistenceCassandraImpl. 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)
void
CqlDeletePayload. 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.void
CqlStorePayload. run(com.datastax.oss.driver.api.core.CqlSession session)
Store the resource into the Cassandra database.PayloadPersistenceResponse
FHIRPayloadPersistenceCassandraImpl. 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 long
CqlScanResources. 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 class
FHIRPersistenceDataAccessException
This exception class represents failures encountered while attempting to access (read, write) data in the FHIR DB.class
FHIRPersistenceIfNoneMatchException
This exception is thrown when an IfNoneMatch precondition check fails and the server is configured to treat this as an error (412 Precondition Failed).class
FHIRPersistenceNotSupportedException
Thrown for methods or features not yet fully implemented.class
FHIRPersistenceProcessorException
Thrown when a failure is found processing search parameters.class
FHIRPersistenceVersionIdMismatchException
This 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 FHIRPersistenceException
FHIRPersistenceException. withIssue(java.util.Collection<OperationOutcome.Issue> issues)
FHIRPersistenceException
FHIRPersistenceException. withIssue(OperationOutcome.Issue... issues)
FHIRPersistenceException
FHIRPersistenceProcessorException. withIssue(java.util.Collection<OperationOutcome.Issue> issues)
FHIRPersistenceException
FHIRPersistenceProcessorException. 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 void
FHIRTransactionHelper. begin()
If a transaction has not yet been started on this thread, then start one.void
FHIRTransactionHelper. commit()
If we previously started a transaction on this thread using this helper instance, then commit it now.void
FHIRTransactionHelper. end()
Same as commit, but is preferred for readability becauseFHIRTransactionHelper.commit()
will actually do a rollback if setRollbackOnly is called on the underlying transactionFHIRPersistence
FHIRPersistenceHelper. getFHIRPersistenceImplementation()
FHIRPersistence
FHIRPersistenceHelper. getFHIRPersistenceImplementation(java.lang.String factoryPropertyName)
FHIRPersistence
PersistenceHelper. getFHIRPersistenceImplementation()
Returns an appropriate FHIRPersistance implementation according to the current configuration.FHIRPersistence
PersistenceHelper. getFHIRPersistenceImplementation(java.lang.String factoryPropertyName)
Returns an appropriate FHIRPersistance implementation according to the current configuration.boolean
FHIRTransactionHelper. hasBegun()
Find out if we're currently in a transactiondefault boolean
PersistenceHelper. isValidFHIRPersistenceImplementation(java.lang.String identifier)
Identifies if a FHIRPersistence implementation can be found by using the given identifier.protected java.lang.String
FHIRPersistenceHelper. retrieveFactoryClassName(java.lang.String factoryPropertyName)
Retrieves the name of the factory class that should be instantiated for use by the server.void
FHIRTransactionHelper. rollback()
If we previously started a transaction on this thread using this helper instance, then perform a rollback now; otherwise, set the transaction as 'rollback only' to prevent it from being committed later.void
FHIRTransactionHelper. setRollbackOnly()
Mark the current transaction for rollback. -
Uses of FHIRPersistenceException in 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 FHIRPersistence
FHIRPersistenceJDBCFactory. getInstance(SearchHelper searchHelper)
static ResourceDAO
FHIRResourceDAOFactory. 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 ResourceDAO
FHIRResourceDAOFactory. 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 void
FHIRPersistenceJDBCCacheUtil. 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 Resource
CitusResourceDAO. 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 void
IFHIRTransactionAdapterCallback. beforeCommit()
Callback invoked just before the current transaction commitsvoid
FHIRTestTransactionAdapter. begin()
void
FHIRUserTransactionAdapter. begin()
If a transaction has not yet been started on this thread, then start one.protected void
FHIRDbConnectionStrategyBase. 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.void
FHIRTestTransactionAdapter. end()
void
FHIRUserTransactionAdapter. end()
If we previously started a transaction on this thread using this helper instance, then commit it now.(package private) <T> T
FHIRUserTransactionAdapter. func(java.util.function.Supplier<T> s)
Call the supplier function within a begin/endprotected java.sql.Connection
FHIRDbConnectionStrategyBase. getConnection(javax.sql.DataSource datasource, java.lang.String tenantId, java.lang.String dsId)
Get a connection configured for the given tenant and datasourceIdboolean
FHIRTestTransactionAdapter. hasBegun()
boolean
FHIRUserTransactionAdapter. hasBegun()
void
FHIRTestTransactionAdapter. setRollbackOnly()
void
FHIRUserTransactionAdapter. setRollbackOnly()
-
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.dao
Methods in org.linuxforhealth.fhir.persistence.jdbc.dao that throw FHIRPersistenceException Modifier and Type Method Description Resource
EraseResourceDAO. insert(Resource resource, java.util.List<ExtractedParameterValue> parameters, java.lang.String parameterHashB64, ParameterDAO parameterDao, java.lang.Integer ifNoneMatch)
Resource
ReindexResourceDAO. insert(Resource resource, java.util.List<ExtractedParameterValue> parameters, java.lang.String parameterHashB64, ParameterDAO parameterDao, java.lang.Integer ifNoneMatch)
void
EraseResourceDAO. 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 int
ParameterDAO. acquireParameterNameId(java.lang.String parameterName)
Acquire and return the id associated with the passed parameter name.java.lang.Long
JDBCIdentityCache. getCanonicalId(java.lang.String canonicalValue)
Get the database id for the given canonical value.java.lang.Integer
JDBCIdentityCache. getCodeSystemId(java.lang.String codeSystem)
Get the database id for the named code-system.java.lang.Long
JDBCIdentityCache. 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.Integer
JDBCIdentityCache. getParameterNameId(java.lang.String parameterName)
Get the database id for the given parameter name.java.lang.Integer
JDBCIdentityCache. 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.String
JDBCIdentityCache. 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.Resource
ResourceDAO. 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 int
ParameterDAOImpl. acquireParameterNameId(java.lang.String parameterName)
Acquire and return the id associated with the passed parameter name.int
FetchResourcePayloadsDAO. count(java.sql.Connection c)
Get a count of the resources matching the filter predicates...for debugging...slows things down a lotjava.lang.Long
JDBCIdentityCacheImpl. getCanonicalId(java.lang.String canonicalValue)
java.lang.Integer
JDBCIdentityCacheImpl. getCodeSystemId(java.lang.String codeSystemName)
java.lang.Long
JDBCIdentityCacheImpl. 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.Integer
JDBCIdentityCacheImpl. getParameterNameId(java.lang.String parameterName)
java.lang.Integer
JDBCIdentityCacheImpl. getResourceTypeId(java.lang.String resourceType)
protected java.lang.Integer
ResourceDAOImpl. 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.String
JDBCIdentityCacheImpl. getResourceTypeName(java.lang.Integer resourceTypeId)
java.util.List<java.lang.String>
JDBCIdentityCacheImpl. getResourceTypeNames()
void
FetchPayloadsForIdsDAO. 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 connectionResourcePayload
FetchResourcePayloadsDAO. 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.void
ParameterTransportVisitor. visit(CompositeParmVal compositeParameter)
void
ParameterTransportVisitor. visit(DateParmVal dateParameter)
void
ParameterTransportVisitor. visit(LocationParmVal locationParameter)
void
ParameterTransportVisitor. visit(NumberParmVal numberParameter)
void
ParameterTransportVisitor. visit(QuantityParmVal quantityParameter)
void
ParameterTransportVisitor. visit(ReferenceParmVal rpv)
void
ParameterTransportVisitor. visit(StringParmVal stringParameter)
void
ParameterTransportVisitor. 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 Resource
DerbyResourceDAO. 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 QueryData
SearchQueryRenderer. addCanonicalParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addCanonicalParam(T query, java.lang.String resourceType, QueryParameter queryParm)
Filter the query using the given canonical parameterQueryData
SearchQueryRenderer. addChained(QueryData queryData, QueryParameter currentParm)
T
SearchQueryVisitor. addChained(T currentSubQuery, QueryParameter currentParm)
Add a chain subquery element as part of a chained parameter searchQueryData
SearchQueryRenderer. addCompositeParam(QueryData queryData, QueryParameter queryParm)
QueryData
SearchQueryRenderer. addCompositeParam(QueryData queryData, QueryParameter queryParm, boolean isMissing)
T
SearchQueryVisitor. addCompositeParam(T query, QueryParameter queryParm)
Add a composite query parameter filter to the queryT
SearchQueryVisitor. addCompositeParam(T query, QueryParameter queryParm, boolean isMissing)
Add a composite query which only tests missing/not missing, not the actual parameter valueQueryData
SearchQueryRenderer. addDateParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addDateParam(T queryData, java.lang.String resourceType, QueryParameter queryParm)
Filter the query using the given date parametervoid
SearchQueryRenderer. addFilter(QueryData queryData, java.lang.String resourceType, QueryParameter currentParm)
void
SearchQueryVisitor. addFilter(T currentSubQuery, java.lang.String resourceType, QueryParameter currentParm)
Add a filter predicate to the given chained sub-query element.protected void
SearchQueryRenderer. addIdFilter(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
Add a filter on the LOGICAL_ID for the given query parameter valuesQueryData
SearchQueryRenderer. addIncludeFilter(QueryData queryData, InclusionParameter inclusionParm, java.util.List<java.lang.Long> logicalResourceIds)
T
SearchQueryVisitor. addIncludeFilter(T query, InclusionParameter inclusionParm, java.util.List<java.lang.Long> logicalResourceIds)
QueryData
SearchQueryRenderer. addInclusionParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addInclusionParam(T query, java.lang.String resourceType, QueryParameter queryParm)
Special case to handle inclusion related to compartment-based searchesQueryData
SearchQueryRenderer. addLocationParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addLocationParam(T queryData, java.lang.String resourceType, QueryParameter queryParm)
Filter the query using the given location (lat/lng) paramQueryData
SearchQueryRenderer. addLocationPosition(QueryData queryData, java.util.List<QueryParameter> queryParameters)
T
SearchQueryVisitor. addLocationPosition(T queryData, java.util.List<QueryParameter> queryParameters)
QueryData
SearchQueryRenderer. addMissingParam(QueryData queryData, QueryParameter queryParm, boolean isMissing)
T
SearchQueryVisitor. addMissingParam(T query, QueryParameter queryParm, boolean isMissing)
Add a missing (NOT EXISTS) parameter clause to the queryQueryData
SearchQueryRenderer. addNumberParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addNumberParam(T queryData, java.lang.String resourceType, QueryParameter queryParm)
Filter the query using the given number parameterQueryData
SearchQueryRenderer. addQuantityParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addQuantityParam(T queryData, java.lang.String resourceType, QueryParameter queryParm)
Filter the query using the given quantity parameterQueryData
SearchQueryRenderer. addReferenceParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addReferenceParam(T queryData, java.lang.String resourceType, QueryParameter queryParm)
Filter the query using the given reference parameterQueryData
SearchQueryRenderer. addReverseChained(QueryData queryData, QueryParameter currentParm)
T
SearchQueryVisitor. addReverseChained(T currentSubQuery, QueryParameter currentParm)
Add a reverse chain subquery element as part of a chained parameter searchQueryData
SearchQueryRenderer. addRevIncludeFilter(QueryData queryData, InclusionParameter inclusionParm, java.util.List<java.lang.Long> logicalResourceIds)
T
SearchQueryVisitor. addRevIncludeFilter(T query, InclusionParameter inclusionParm, java.util.List<java.lang.Long> logicalResourceIds)
QueryData
SearchQueryRenderer. addSecurityParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addSecurityParam(T query, java.lang.String resourceType, QueryParameter queryParm)
Filter the query using the given security query parametervoid
SearchQueryRenderer. addSortParam(QueryData queryData, java.lang.String code, SearchConstants.Type type, Sort.Direction direction)
void
SearchQueryVisitor. addSortParam(T queryData, java.lang.String code, SearchConstants.Type type, Sort.Direction direction)
Add the given sort parameter to the sort queryQueryData
SearchQueryRenderer. addStringParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addStringParam(T query, java.lang.String resourceType, QueryParameter queryParm)
Filter the query using the given string parameterQueryData
SearchQueryRenderer. addTagParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addTagParam(T query, java.lang.String resourceType, QueryParameter queryParm)
Filter the query using the given tag query parameterQueryData
SearchQueryRenderer. addTokenParam(QueryData queryData, java.lang.String resourceType, QueryParameter queryParm)
T
SearchQueryVisitor. addTokenParam(T query, java.lang.String resourceType, QueryParameter queryParm)
Filter the query using the given parameter id and token valueQueryData
SearchQueryRenderer. addWholeSystemDataFilter(QueryData queryData, java.lang.String resourceType, java.util.List<java.lang.Long> logicalResourceIds)
T
SearchQueryVisitor. addWholeSystemDataFilter(T query, java.lang.String resourceType, java.util.List<java.lang.Long> logicalResourceIds)
QueryData
SearchQueryRenderer. addWholeSystemResourceTypeFilter(QueryData queryData, java.util.List<java.lang.Integer> resourceTypeIds)
T
SearchQueryVisitor. addWholeSystemResourceTypeFilter(T query, java.util.List<java.lang.Integer> resourceTypeIds)
protected long
SearchQueryRenderer. getCanonicalId(java.lang.String canonicalValue)
Get the id for the given canonicalValue (cache lookup).protected int
SearchQueryRenderer. getCodeSystemId(java.lang.String codeSystemName)
Get the id for the given code system name (cache lookup)protected java.lang.Long
SearchQueryRenderer. 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 WhereFragment
SearchQueryRenderer. getFilterPredicate(QueryData queryData, QueryParameter queryParm)
Get a simple filter predicate which can be used in the WHERE clause of a search query.protected WhereFragment
SearchQueryRenderer. getIdentifierFilter(QueryParameter queryParm, java.lang.String paramAlias)
protected WhereFragment
SearchQueryRenderer. 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 WhereFragment
SearchQueryRenderer. getNumberFilter(QueryParameter queryParm, java.lang.String paramAlias)
Get a filter predicate for the given number query parameterprotected int
SearchQueryRenderer. getParameterNameId(java.lang.String parameterName)
Get the id for the given parameter name (cache lookup)protected WhereFragment
SearchQueryRenderer. getQuantityFilter(QueryParameter queryParm, java.lang.String paramAlias)
Add a filter predicate to the given exists sub-queryprotected WhereFragment
SearchQueryRenderer. getReferenceFilter(QueryParameter queryParm, java.lang.String paramAlias)
Create a filter predicate for the given reference query parameterprotected WhereFragment
SearchQueryRenderer. getReferenceFilter(QueryParameter queryParm, java.lang.String paramAlias, java.util.List<java.lang.Long> logicalResourceIdList)
protected WhereFragment
SearchQueryRenderer. 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.String
SearchQueryRenderer. 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 WhereFragment
SearchQueryRenderer. 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 WhereFragment
SearchQueryRenderer. getTokenFilter(QueryParameter queryParm, java.lang.String paramAlias)
Get the filter predicate for the given token query parameter.protected WhereFragment
SearchQueryRenderer. 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> T
CanonicalSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
ChainedSearchParam. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
CompositeSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
DateSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> void
DomainSortParameter. visit(T queryData, SearchQueryVisitor<T> visitor)
Visitor to apply the sort parameter to the query builder represented by the visitor<T> T
IdSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
InclusionSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
LastUpdatedSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
LocationSearchExtension. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
LocationSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
MissingSearchParam. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
NumberSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
QuantitySearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
ReferenceSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
SearchDataQuery. visit(SearchQueryVisitor<T> visitor)
<T> T
SearchExtension. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
SearchIncludeQuery. visit(SearchQueryVisitor<T> visitor)
abstract <T> T
SearchParam. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
SearchQuery. visit(SearchQueryVisitor<T> visitor)
Get the root query and attach the parameter filters to it<T> T
SearchSortQuery. visit(SearchQueryVisitor<T> visitor)
<T> T
SearchWholeSystemDataQuery. visit(SearchQueryVisitor<T> visitor)
<T> T
SearchWholeSystemFilterQuery. visit(SearchQueryVisitor<T> visitor)
<T> T
SearchWholeSystemQuery. visit(SearchQueryVisitor<T> visitor)
<T> T
SecuritySearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
StringSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
TagSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> T
TokenSearchParam. visit(T queryData, SearchQueryVisitor<T> visitor)
<T> void
SearchQuery. visitExtensions(T query, SearchQueryVisitor<T> visitor)
Visit each of the extensions configured for this queryprotected <T> void
SearchQuery. visitSearchParams(T query, SearchQueryVisitor<T> visitor)
Visit each of the search parameters -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.dto
Methods in org.linuxforhealth.fhir.persistence.jdbc.dto that throw FHIRPersistenceException Modifier and Type Method Description void
CompositeParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
DateParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorabstract void
ExtractedParameterValue. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
LocationParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
NumberParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
QuantityParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
ReferenceParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
StringParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
TokenParmVal. accept(ExtractedParameterValueVisitor visitor)
We know our type, so we can call the correct method on the visitorvoid
ExtractedParameterValueVisitor. visit(CompositeParmVal compositeParameter)
Process a composite parameter valuevoid
ExtractedParameterValueVisitor. visit(DateParmVal dateParameter)
Process a date parameter valuevoid
ExtractedParameterValueVisitor. visit(LocationParmVal locationParameter)
Process a location parameter valuevoid
ExtractedParameterValueVisitor. visit(NumberParmVal numberParameter)
Process a number parameter valuevoid
ExtractedParameterValueVisitor. visit(QuantityParmVal quantityParameter)
Process a quantity parameter valuevoid
ExtractedParameterValueVisitor. visit(ReferenceParmVal referenceParmVal)
Process a reference parameter valuevoid
ExtractedParameterValueVisitor. visit(StringParmVal stringParameter)
Process a string parameter valuevoid
ExtractedParameterValueVisitor. visit(TokenParmVal tokenParameter)
Process a token parameter value -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.exception
Subclasses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.exception Modifier and Type Class Description class
FHIRPersistenceDBCleanupException
This exception class represents failures encountered while attempting to close/cleanup JDBC resources.class
FHIRPersistenceDBConnectException
This exception class represents failures encountered while attempting to connect to a JDBC database or datasource.class
FHIRPersistenceFKVException
This exception class is thrown when Foreign Key violations are encountered while attempting to access data in the FHIR DB. -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.impl
Methods in org.linuxforhealth.fhir.persistence.jdbc.impl that throw FHIRPersistenceException Modifier and Type Method Description void
FHIRPersistenceJDBCImpl. 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)
void
FHIRPersistenceJDBCImpl. doCachePrefill(FHIRPersistenceContext context, java.sql.Connection connection)
Prefill the cachesResourceEraseRecord
FHIRPersistenceJDBCImpl. erase(FHIRPersistenceContext context, EraseDTO eraseDto)
ResourcePayload
FHIRPersistenceJDBCImpl. fetchResourcePayloads(java.lang.Class<? extends Resource> resourceType, java.time.Instant fromLastModified, java.time.Instant toLastModified, java.util.function.Function<ResourcePayload,java.lang.Boolean> processor)
OperationOutcome
FHIRPersistenceJDBCImpl. getHealth()
MultiResourceResult
FHIRPersistenceJDBCImpl. history(FHIRPersistenceContext context, java.lang.Class<? extends Resource> resourceType, java.lang.String logicalId)
void
FHIRPersistenceJDBCImpl. 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)
int
FHIRPersistenceJDBCImpl. 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)
MultiResourceResult
FHIRPersistenceJDBCImpl. search(FHIRPersistenceContext context, java.lang.Class<? extends Resource> resourceType)
Search query implementation based on the 1385 new query builder.PayloadPersistenceResponse
FHIRPersistenceJDBCImpl. 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 Resource
PostgresResourceDAO. insert(Resource resource, java.util.List<ExtractedParameterValue> parameters, java.lang.String parameterHashB64, ParameterDAO parameterDao, java.lang.Integer ifNoneMatch)
Resource
PostgresResourceNoProcDAO. 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 ResourceProfileRec
CanonicalSupport. 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 aResourceProfileRec
DTO.<T> T
IncludeExtension. visit(T query, SearchQueryVisitor<T> visitor)
void
ParameterHashVisitor. visit(CompositeParmVal compositeParameter)
void
ParameterHashVisitor. visit(DateParmVal param)
void
ParameterHashVisitor. visit(LocationParmVal param)
void
ParameterHashVisitor. visit(NumberParmVal param)
void
ParameterHashVisitor. visit(QuantityParmVal param)
void
ParameterHashVisitor. visit(ReferenceParmVal param)
void
ParameterHashVisitor. visit(StringParmVal param)
void
ParameterHashVisitor. visit(TokenParmVal param)
<T> T
RevIncludeExtension. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
WholeSystemDataExtension. visit(T query, SearchQueryVisitor<T> visitor)
<T> T
WholeSystemResourceTypeExtension. visit(T query, SearchQueryVisitor<T> visitor)
-
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.persistence.jdbc.util.type
Methods in org.linuxforhealth.fhir.persistence.jdbc.util.type that throw FHIRPersistenceException Modifier and Type Method Description void
NewQuantityParmBehaviorUtil. addSystemIfPresent(WhereFragment whereClauseSegment, java.lang.String tableAlias, java.lang.String system)
adds the system if present.void
NewNumberParmBehaviorUtil. executeBehavior(WhereFragment whereClauseSegment, QueryParameter queryParm, java.lang.String tableAlias)
Add the filter predicate logic to the given whereClauseSegmentvoid
NewQuantityParmBehaviorUtil. 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 void
BatchParameterValue. apply(IBatchParameterProcessor processor)
Apply this parameter value to the target processorvoid
IParamValueCollector. 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 pvoid
IParamValueCollector. 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 pvoid
IParamValueCollector. 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 pvoid
IParamValueCollector. 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 pvoid
IParamValueCollector. 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 pvoid
IParamValueCollector. 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 pvoid
IParamValueCollector. 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 pvoid
IParamValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, StringParameter p)
void
IParamValueCollector. 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 pvoid
IParamValueCollector. 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 pvoid
IBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, DateParameter parameter)
void
IBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, LocationParameter parameter)
void
IBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, NumberParameter parameter)
void
IBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, ProfileParameter parameter, CommonCanonicalValue commonCanonicalValue)
void
IBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, QuantityParameter parameter, CodeSystemValue codeSystemValue)
void
IBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, ReferenceParameter parameter, LogicalResourceIdentValue refLogicalResourceId)
void
IBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, SecurityParameter parameter, CommonTokenValue commonTokenValue)
void
IBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, StringParameter parameter)
void
IBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, TagParameter parameter, CommonTokenValue commonTokenValue)
void
IBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, TokenParameter parameter, CommonTokenValue commonTokenValue)
void
IMessageHandler. process(java.util.List<java.lang.String> messages)
Ask the handler to process the list of messages.void
IParamValueCollector. publish(IParamValueProcessor processor)
Publish the values held in this collector using the given processorvoid
IParamValueProcessor. publish(BatchParameterValue bpv)
Publish the given parameter value (which by now should have any FK references it needs)void
IParamValueProcessor. pushBatch()
Push any data we've accumulated so far.void
IParamValueProcessor. resolveCanonicalValues(java.util.List<CommonCanonicalValue> unresolvedCanonicalValues, java.util.Map<CommonCanonicalValueKey,CommonCanonicalValue> commonCanonicalValueMap)
void
IParamValueProcessor. resolveCommonTokenValues(java.util.List<CommonTokenValue> unresolvedTokenValues, java.util.Map<CommonTokenValueKey,CommonTokenValue> commonTokenValueMap)
void
IParamValueProcessor. 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.void
IParamValueProcessor. resolveParameterNames(java.util.List<ParameterNameValue> unresolvedParameterNames, java.util.Map<java.lang.String,ParameterNameValue> parameterNameMap)
void
IParamValueProcessor. 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 void
BatchDateParameter. apply(IBatchParameterProcessor processor)
void
BatchLocationParameter. apply(IBatchParameterProcessor processor)
void
BatchNumberParameter. apply(IBatchParameterProcessor processor)
void
BatchProfileParameter. apply(IBatchParameterProcessor processor)
void
BatchQuantityParameter. apply(IBatchParameterProcessor processor)
void
BatchReferenceParameter. apply(IBatchParameterProcessor processor)
void
BatchSecurityParameter. apply(IBatchParameterProcessor processor)
void
BatchStringParameter. apply(IBatchParameterProcessor processor)
void
BatchTagParameter. apply(IBatchParameterProcessor processor)
void
BatchTokenParameter. apply(IBatchParameterProcessor processor)
void
ParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, DateParameter p)
void
ParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, LocationParameter p)
void
ParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, NumberParameter p)
void
ParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ProfileParameter p)
void
ParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, QuantityParameter p)
void
ParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ReferenceParameter p)
void
ParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, SecurityParameter p)
void
ParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, StringParameter p)
void
ParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, TagParameter p)
void
ParameterValueCollector. collect(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, TokenParameter p)
void
ParameterValueCollector. 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 void
PlainParamValueProcessor. addMissingCodeSystems(java.util.List<CodeSystemValue> missing)
These code systems weren't found in the database, so we need to try and add them.protected void
DistributedPostgresParamValueProcessor. addMissingCommonCanonicalValues(java.util.List<CommonCanonicalValue> missing)
protected void
PlainDerbyParamValueProcessor. addMissingCommonCanonicalValues(java.util.List<CommonCanonicalValue> missing)
protected void
PlainParamValueProcessor. 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 void
PlainDerbyParamValueProcessor. addMissingCommonTokenValues(java.util.List<CommonTokenValue> missing)
protected void
PlainParamValueProcessor. 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 void
PlainDerbyParamValueProcessor. addMissingLogicalResourceIdents(java.util.List<LogicalResourceIdentValue> missing)
protected void
PlainParamValueProcessor. 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.Integer
PlainDerbyParamValueProcessor. createParameterName(java.lang.String parameterName)
protected java.lang.Integer
PlainParamValueProcessor. 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.void
PlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, DateParameter p)
void
PlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, LocationParameter p)
void
PlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, NumberParameter p)
void
PlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, ProfileParameter p, CommonCanonicalValue commonCanonicalValue)
void
PlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, QuantityParameter p, CodeSystemValue codeSystemValue)
void
PlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, ReferenceParameter parameter, LogicalResourceIdentValue refLogicalResourceId)
void
PlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, SecurityParameter p, CommonTokenValue commonTokenValue)
void
PlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, StringParameter parameter)
void
PlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, TagParameter p, CommonTokenValue commonTokenValue)
void
PlainBatchParameterProcessor. process(java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ParameterNameValue parameterNameValue, TokenParameter p, CommonTokenValue commonTokenValue)
void
PlainParamValueProcessor. publish(BatchParameterValue bpv)
void
PlainBatchParameterProcessor. pushBatch()
Push any statements that have been batched but not yet executedvoid
PlainParamValueProcessor. pushBatch()
void
PlainParamValueProcessor. resolveCanonicalValues(java.util.List<CommonCanonicalValue> unresolvedCanonicalValues, java.util.Map<CommonCanonicalValueKey,CommonCanonicalValue> commonCanonicalValueMap)
void
PlainParamValueProcessor. 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 batchvoid
PlainPostgresParamValueProcessor. resolveCommonTokenValues(java.util.List<CommonTokenValue> unresolvedTokenValues, java.util.Map<CommonTokenValueKey,CommonTokenValue> commonTokenValueMap)
void
PlainParamValueProcessor. resolveLogicalResourceIdents(java.util.List<LogicalResourceIdentValue> unresolvedLogicalResourceIdents, java.util.Map<LogicalResourceIdentKey,LogicalResourceIdentValue> logicalResourceIdentMap)
void
PlainPostgresParamValueProcessor. resolveLogicalResourceIdents(java.util.List<LogicalResourceIdentValue> unresolvedLogicalResourceIdents, java.util.Map<LogicalResourceIdentKey,LogicalResourceIdentValue> logicalResourceIdentMap)
void
PlainParamValueProcessor. resolveParameterNames(java.util.List<ParameterNameValue> unresolvedParameterNames, java.util.Map<java.lang.String,ParameterNameValue> parameterNameMap)
void
PlainParamValueProcessor. 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 void
FHIRPayloadPersistence. 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.PayloadPersistenceResponse
FHIRPayloadPersistence. 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 T1
AbstractQueryBuilder. 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 BoundingBoxT
QueryBuilder. buildQuery(java.lang.Class<?> resourceType, FHIRSearchContext searchContext)
Deprecated.Build and return query for the passed resource type and search parameters.static FHIRHistoryContext
FHIRPersistenceUtil. parseHistoryParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters, boolean lenient)
static FHIRSystemHistoryContext
FHIRPersistenceUtil. 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 T1
AbstractQueryBuilder. processCompositeParm(java.lang.Class<?> resourceType, QueryParameter queryParm)
Deprecated.Creates a query segment for a Composite type parameter.protected T1
AbstractQueryBuilder. 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 T1
AbstractQueryBuilder. processNumberParm(java.lang.Class<?> resourceType, QueryParameter queryParm)
Deprecated.Creates a query segment for a Number type parameter.protected abstract T1
AbstractQueryBuilder. processStringParm(QueryParameter queryParm)
Deprecated.Creates a query segment for a String type parameter.protected abstract T1
AbstractQueryBuilder. processTokenParm(java.lang.Class<?> resourceType, QueryParameter queryParm)
Deprecated.Creates a query segment for a Token type parameter.protected abstract T1
AbstractQueryBuilder. processUriParm(QueryParameter queryParm)
Deprecated.Creates a query segment for a URI type parameter. -
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.server.resources
Methods in org.linuxforhealth.fhir.server.resources that throw FHIRPersistenceException Modifier and Type Method Description protected FHIRPersistence
FHIRResource. getPersistenceImpl()
Retrieves the persistence implementation to use for the current request.protected boolean
FHIRResource. isDeleteSupported()
-
Uses of FHIRPersistenceException in org.linuxforhealth.fhir.server.spi.interceptor
Subclasses of FHIRPersistenceException in org.linuxforhealth.fhir.server.spi.interceptor Modifier and Type Class Description class
FHIRPersistenceInterceptorException
-
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)
-