Uses of Interface
com.ibm.fhir.database.utils.api.IDatabaseStatement
-
-
Uses of IDatabaseStatement in com.ibm.fhir.bucket.persistence
Classes in com.ibm.fhir.bucket.persistence that implement IDatabaseStatement Modifier and Type Class Description classAddResourceBundleErrorsDAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclassAllocateJobsDAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclassClearStaleAllocationsDAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclassGetLogicalIdsFetch a batch of roughly random patientIds.classLoaderInstanceHeartbeatUpdates the last seen timestamp of the LOADER_INSTANCES record to indicate this particular instance is still aliveclassMarkBundleDoneUpdates the LOAD_COMPLETED timestamp of the resource_bundles recordclassMergeResourcesCommand to merge a collection of resourcesclassMergeResourceTypesDAO to encapsulate all the SQL/DML used to retrieve and persist data in the schema.classMergeResourceTypesPostgresDAO to encapsulate all the SQL/DML used to retrieve and persist data in the schema.classRecordLogicalIdDAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclassRecordLogicalIdListDAO to encapsulate all the SQL/DML used to retrieve and persist data in the schema -
Uses of IDatabaseStatement in com.ibm.fhir.database.utils.api
Methods in com.ibm.fhir.database.utils.api with parameters of type IDatabaseStatement Modifier and Type Method Description voidIDatabaseAdapter. runStatement(IDatabaseStatement statement)Run the given statement against the database represented by this adaptervoidIDatabaseTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)Run the statement using the resources (e.g. -
Uses of IDatabaseStatement in com.ibm.fhir.database.utils.common
Classes in com.ibm.fhir.database.utils.common that implement IDatabaseStatement Modifier and Type Class Description classAddColumnAdd column to the schema.tableclassAddForeignKeyConstraintAdd one or more foreign keys to the schema.tableclassCreateIndexStatementCreate an indexclassDropColumnDrop columns from the schema.tableclassDropForeignKeyConstraintDrop one or more foreign keys from the schema.tableclassDropIndexDrop an index from a given schema by nameclassDropPrimaryKeyDrop the primary key constraint on a tableclassDropTableDrops the table at the schema.tableclassReorgTableFor databases which support it, execute the reorg table command.Methods in com.ibm.fhir.database.utils.common with parameters of type IDatabaseStatement Modifier and Type Method Description voidCommonDatabaseAdapter. runStatement(IDatabaseStatement stmt)Run the statement using the connectionProvider to obtain a new connection.voidConnectionProviderTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)voidJdbcTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)voidNopTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)voidPrintTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement) -
Uses of IDatabaseStatement in com.ibm.fhir.database.utils.db2
Classes in com.ibm.fhir.database.utils.db2 that implement IDatabaseStatement Modifier and Type Class Description classDb2AddTablePartitionDB2 Add Table PartitionclassDb2AddTableToStagingDB2 Adds table to stagingclassDb2AdminCommandReorg the schema.tableclassDb2CheckCompatibilityChecks Compatibility with the DB2 Implementation that is used.classDb2CreateTablespaceCreates the DB2 Table SpaceclassDb2DetachTablePartitionDB2 DetatchTable PartitionclassDb2DropTablespaceDrops the DB2 TablespaceclassDb2GetPartitionInfoFunctional wrapper to get the catalog informationclassDb2ReorgReorg the schema.table Be sure to complete all database operations and release all locks before you invoke REORG.classDb2SetTenantVariableDAO command to call the set_tenant fhir admin procedure which will set the fhir_admin.sv_tenant_id variable but only if the correct tenantKey is provided.Methods in com.ibm.fhir.database.utils.db2 with parameters of type IDatabaseStatement Modifier and Type Method Description voidDb2Adapter. runStatement(IDatabaseStatement stmt) -
Uses of IDatabaseStatement in com.ibm.fhir.database.utils.derby
Methods in com.ibm.fhir.database.utils.derby with parameters of type IDatabaseStatement Modifier and Type Method Description voidDerbyAdapter. runStatement(IDatabaseStatement stmt) -
Uses of IDatabaseStatement in com.ibm.fhir.database.utils.model
Methods in com.ibm.fhir.database.utils.model that return types with arguments of type IDatabaseStatement Modifier and Type Method Description List<IDatabaseStatement>Migration. migrateFrom(int priorVersion)Migrate from some previous version to the current version of this database object -
Uses of IDatabaseStatement in com.ibm.fhir.database.utils.postgres
Classes in com.ibm.fhir.database.utils.postgres that implement IDatabaseStatement Modifier and Type Class Description classPostgresVacuumSettingDAOPer the Performance Guide, this DAO implements VACUUM setting changes.Methods in com.ibm.fhir.database.utils.postgres with parameters of type IDatabaseStatement Modifier and Type Method Description voidPostgresAdapter. runStatement(IDatabaseStatement stmt) -
Uses of IDatabaseStatement in com.ibm.fhir.database.utils.tenant
Classes in com.ibm.fhir.database.utils.tenant that implement IDatabaseStatement Modifier and Type Class Description classAddTenantDAODAO to create a free tenant slot (to align with a new partition)classAddTenantKeyDAODAO to add a new tenant key recordclassCreateOrReplaceViewDAOExecutes a CREATE OR REPLACE VIEW statementclassDeleteTenantDAODelete the tenant meta-data after it has been dropped.classDeleteTenantKeyDAODb2-only DAO to delete a tenant key recordclassDropViewDAOExecutes a DROP VIEW statementclassUpdateTenantStatusDAODAO to create a free tenant slot (to align with a new partition) -
Uses of IDatabaseStatement in com.ibm.fhir.database.utils.version
Classes in com.ibm.fhir.database.utils.version that implement IDatabaseStatement Modifier and Type Class Description classAddVersionDAOAdd the {type, name, version} record to the database. -
Uses of IDatabaseStatement in com.ibm.fhir.persistence.jdbc.derby
Classes in com.ibm.fhir.persistence.jdbc.derby that implement IDatabaseStatement Modifier and Type Class Description classCreateCanonicalValuesTmpCreate the CANONICAL_VALUES_TMP tableclassCreateCodeSystemsTmpCreate the CODE_SYSTEMS_TMP tableclassCreateCommonTokenValuesTmpCreate the COMMON_TOKEN_VALUES_TMP table -
Uses of IDatabaseStatement in com.ibm.fhir.schema.control
Classes in com.ibm.fhir.schema.control that implement IDatabaseStatement Modifier and Type Class Description classAddResourceTypeDAO command to add a resource type.classBackfillResourceChangeLogBackfill the RESOURCE_CHANGE_LOG table using all the existing _RESOURCES records for the given resourceType.classBackfillResourceChangeLogDb2Backfill the RESOURCE_CHANGE_LOG table using all the existing _RESOURCE records for the given resourceType.classGetResourceTypesManages the DB2 Get Resource TypesclassInitializeLogicalResourceDenormsSet the current value for xxx_LOGICAL_RESOURCES.IS_DELETED.classMigrateV0014LogicalResourceIsDeletedLastUpdatedRun 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.classPopulateParameterNamesPopulates the Parameters Names TableclassPopulateResourceTypesPopulates the Resource Types TableclassSetTenantIdDb2Sets the FHIR_ADMIN.SV_TENANT_ID variable which is used for row-based permissions in the Db2 multi-tenant schema.
-