Uses of Interface
org.linuxforhealth.fhir.persistence.context.FHIRPersistenceContext
-
-
Uses of FHIRPersistenceContext in org.linuxforhealth.fhir.bulkdata.jbatch.load
Methods in org.linuxforhealth.fhir.bulkdata.jbatch.load with parameters of type FHIRPersistenceContext Modifier and Type Method Description OperationOutcome
ChunkWriter. conditionalFingerprintUpdate(ImportTransientUserData chunkData, boolean skip, FHIRPersistence persistence, FHIRPersistenceContext context, java.lang.String logicalId, Resource resource, BulkDataContext ctx, long line)
conditional update checks to see if our cache contains the key, if not reads from the db, and calculates the cache. -
Uses of FHIRPersistenceContext in org.linuxforhealth.fhir.persistence
Methods in org.linuxforhealth.fhir.persistence with parameters of type FHIRPersistenceContext Modifier and Type Method Description 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.default ResourceEraseRecord
FHIRPersistence. erase(FHIRPersistenceContext context, EraseDTO eraseDto)
Erases part or a whole of a resource in the data layer.MultiResourceResult
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.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.<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 FHIRPersistenceContext in org.linuxforhealth.fhir.persistence.context
Methods in org.linuxforhealth.fhir.persistence.context that return FHIRPersistenceContext Modifier and Type Method Description static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, java.lang.Integer ifNoneMatch)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, FHIRHistoryContext historyContext)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent and a FHIRHistoryContext.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, FHIRSearchContext searchContext, java.lang.String requestShard)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent and a FHIRSearchContext. -
Uses of FHIRPersistenceContext in org.linuxforhealth.fhir.persistence.context.impl
Classes in org.linuxforhealth.fhir.persistence.context.impl that implement FHIRPersistenceContext Modifier and Type Class Description class
FHIRPersistenceContextImpl
This class provides a concrete implementation of the FHIRPersistenceContext interface and is used to pass request context-related information to the persistence layer.Methods in org.linuxforhealth.fhir.persistence.context.impl that return FHIRPersistenceContext Modifier and Type Method Description FHIRPersistenceContext
FHIRPersistenceContextImpl.Builder. build()
Build the FHIRPersistenceContext implementation -
Uses of FHIRPersistenceContext in org.linuxforhealth.fhir.persistence.jdbc.dao.api
Methods in org.linuxforhealth.fhir.persistence.jdbc.dao.api with parameters of type FHIRPersistenceContext Modifier and Type Method Description void
ResourceDAO. setPersistenceContext(FHIRPersistenceContext context)
Sets the current persistence context -
Uses of FHIRPersistenceContext in org.linuxforhealth.fhir.persistence.jdbc.dao.impl
Methods in org.linuxforhealth.fhir.persistence.jdbc.dao.impl with parameters of type FHIRPersistenceContext Modifier and Type Method Description void
ResourceDAOImpl. setPersistenceContext(FHIRPersistenceContext context)
-
Uses of FHIRPersistenceContext in org.linuxforhealth.fhir.persistence.jdbc.impl
Methods in org.linuxforhealth.fhir.persistence.jdbc.impl with parameters of type FHIRPersistenceContext Modifier and Type Method Description 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)
MultiResourceResult
FHIRPersistenceJDBCImpl. history(FHIRPersistenceContext context, java.lang.Class<? extends Resource> resourceType, java.lang.String logicalId)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. read(FHIRPersistenceContext context, java.lang.Class<T> resourceType, java.lang.String logicalId)
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.<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)
-