Uses of Interface
org.linuxforhealth.fhir.database.utils.api.IDatabaseStatement
-
-
Uses of IDatabaseStatement in org.linuxforhealth.fhir.bucket.persistence
Classes in org.linuxforhealth.fhir.bucket.persistence that implement IDatabaseStatement Modifier and Type Class Description class
AddResourceBundleErrors
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclass
AllocateJobs
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclass
ClearStaleAllocations
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclass
GetLogicalIds
Fetch a batch of roughly random patientIds.class
LoaderInstanceHeartbeat
Updates the last seen timestamp of the LOADER_INSTANCES record to indicate this particular instance is still aliveclass
MarkBundleDone
Updates the LOAD_COMPLETED timestamp of the resource_bundles recordclass
MergeResources
Command to merge a collection of resourcesclass
MergeResourceTypes
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schema.class
MergeResourceTypesPostgres
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schema.class
RecordLogicalId
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclass
RecordLogicalIdList
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schema -
Uses of IDatabaseStatement in org.linuxforhealth.fhir.database.utils.api
Methods in org.linuxforhealth.fhir.database.utils.api with parameters of type IDatabaseStatement Modifier and Type Method Description void
IDatabaseAdapter. runStatement(IDatabaseStatement statement)
Run the given statement against the database represented by this adaptervoid
IDatabaseTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)
Run the statement using the resources (e.g.void
ISchemaAdapter. runStatement(IDatabaseStatement statement)
Run the given statement against the database represented by this adapter -
Uses of IDatabaseStatement in org.linuxforhealth.fhir.database.utils.citus
Classes in org.linuxforhealth.fhir.database.utils.citus that implement IDatabaseStatement Modifier and Type Class Description class
ConfigureConnectionDAO
DAO to configure the Citus database connection when performing schema build activities.class
CreateDistributedTableDAO
DAO to add a new tenant key recordclass
CreateReferenceTableDAO
DAO to add a new tenant key record -
Uses of IDatabaseStatement in org.linuxforhealth.fhir.database.utils.common
Classes in org.linuxforhealth.fhir.database.utils.common that implement IDatabaseStatement Modifier and Type Class Description class
AddColumn
Add column to the schema.tableclass
AddForeignKeyConstraint
Add one or more foreign keys to the schema.tableclass
CreateIndexStatement
Create an indexclass
CreateOrReplaceViewDAO
Executes a CREATE OR REPLACE VIEW statementclass
DropColumn
Drop columns from the schema.tableclass
DropForeignKeyConstraint
Drop one or more foreign keys from the schema.tableclass
DropIndex
Drop an index from a given schema by nameclass
DropPrimaryKey
Drop the primary key constraint on a tableclass
DropTable
Drops the table at the schema.tableclass
DropView
Drop the view identified by schema and view nameclass
DropViewDAO
Executes a DROP VIEW statementMethods in org.linuxforhealth.fhir.database.utils.common with parameters of type IDatabaseStatement Modifier and Type Method Description void
CommonDatabaseAdapter. runStatement(IDatabaseStatement stmt)
Run the statement using the connectionProvider to obtain a new connection.void
ConnectionProviderTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)
void
JdbcTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)
void
NopTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)
void
PlainSchemaAdapter. runStatement(IDatabaseStatement statement)
void
PrintTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)
-
Uses of IDatabaseStatement in org.linuxforhealth.fhir.database.utils.derby
Methods in org.linuxforhealth.fhir.database.utils.derby with parameters of type IDatabaseStatement Modifier and Type Method Description void
DerbyAdapter. runStatement(IDatabaseStatement stmt)
-
Uses of IDatabaseStatement in org.linuxforhealth.fhir.database.utils.model
Methods in org.linuxforhealth.fhir.database.utils.model that return types with arguments of type IDatabaseStatement Modifier and Type Method Description java.util.List<IDatabaseStatement>
Migration. migrateFrom(int priorVersion)
Migrate from some previous version to the current version of this database object -
Uses of IDatabaseStatement in org.linuxforhealth.fhir.database.utils.postgres
Classes in org.linuxforhealth.fhir.database.utils.postgres that implement IDatabaseStatement Modifier and Type Class Description class
PostgresFillfactorSettingDAO
This DAO changes the fillfactor settings on the given PostgreSQL table.class
PostgresVacuumSettingDAO
Per the Performance Guide, this DAO implements VACUUM setting changes.Methods in org.linuxforhealth.fhir.database.utils.postgres with parameters of type IDatabaseStatement Modifier and Type Method Description void
PostgresAdapter. runStatement(IDatabaseStatement stmt)
-
Uses of IDatabaseStatement in org.linuxforhealth.fhir.database.utils.schema
Classes in org.linuxforhealth.fhir.database.utils.schema that implement IDatabaseStatement Modifier and Type Class Description class
UpdateSchemaVersion
Update the schema version recorded in the WHOLE_SCHEMA_VERSION tableclass
UpdateSchemaVersionPostgresql
Update the schema version recorded in the WHOLE_SCHEMA_VERSION table Postgresql-specific to handle ON CONFLICT DO NOTHING -
Uses of IDatabaseStatement in org.linuxforhealth.fhir.database.utils.version
Classes in org.linuxforhealth.fhir.database.utils.version that implement IDatabaseStatement Modifier and Type Class Description class
AddVersionDAO
Add the {type, name, version} record to the database.class
ClearVersionHistoryDAO
Clear all version history records for a particular schema (used when dropping a schema). -
Uses of IDatabaseStatement in org.linuxforhealth.fhir.persistence.jdbc.derby
Classes in org.linuxforhealth.fhir.persistence.jdbc.derby that implement IDatabaseStatement Modifier and Type Class Description class
CreateCanonicalValuesTmp
Create the CANONICAL_VALUES_TMP tableclass
CreateCodeSystemsTmp
Create the CODE_SYSTEMS_TMP tableclass
CreateCommonTokenValuesTmp
Create the COMMON_TOKEN_VALUES_TMP table -
Uses of IDatabaseStatement in org.linuxforhealth.fhir.schema.control
Classes in org.linuxforhealth.fhir.schema.control that implement IDatabaseStatement Modifier and Type Class Description class
AddResourceType
DAO command to add a resource type.class
BackfillResourceChangeLog
Backfill the RESOURCE_CHANGE_LOG table using all the existing _RESOURCES records for the given resourceType.class
GetResourceTypes
Manages the DB2 Get Resource Typesclass
InitializeLogicalResourceDenorms
Set the current value for xxx_LOGICAL_RESOURCES.IS_DELETED.class
MigrateV0014LogicalResourceIsDeletedLastUpdated
Run a correlated update statement to update the new V0014 columns in LOGICAL_RESOURCES from the corresponding values in the xx_LOGICAL_RESOURCES table (for a specific resource type) Note that for this to work for the multi-tenant (Db2) schema, the SV_TENANT_ID needs to be set first.class
MigrateV0021AbstractTypeRemoval
DOMAINRESOURCE_ and RESOURCE_ are abstract tables which are unused.class
MigrateV0027LogicalResourceIdent
Populate LOGICAL_RESOURCE_IDENT with records from LOGICAL_RESOURCESclass
PopulateParameterNames
Populates the Parameters Names Tableclass
PopulateResourceTypes
Populates the Resource Types Table
-