Uses of Interface
com.ibm.fhir.database.utils.api.IDatabaseSupplier
-
-
Uses of IDatabaseSupplier in com.ibm.fhir.bucket.persistence
Classes in com.ibm.fhir.bucket.persistence that implement IDatabaseSupplier Modifier and Type Class Description classAddBucketPathDAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclassAddResourceBundleDAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclassGetLastProcessedLineNumberFinds the greater line number successfully processed for a particular resource bundleclassGetResourceRefsForBundleLineFetches the list of resources which have been created from processing a given line of a bundle.classRegisterLoaderInstanceDAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclassResourceTypesReaderDAO to encapsulate all the SQL/DML used to retrieve and persist data in the schema -
Uses of IDatabaseSupplier in com.ibm.fhir.database.utils.api
Methods in com.ibm.fhir.database.utils.api with parameters of type IDatabaseSupplier Modifier and Type Method Description <T> TIDatabaseAdapter. runStatement(IDatabaseSupplier<T> supplier)Run the given supplier statement against the database represented by this adapter<T> TIDatabaseTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)Run a statement returning a value of type T. -
Uses of IDatabaseSupplier in com.ibm.fhir.database.utils.common
Classes in com.ibm.fhir.database.utils.common that implement IDatabaseSupplier Modifier and Type Class Description classGetSequenceNextValueDAODAO to create a free tenant slot (to align with a new partition)Methods in com.ibm.fhir.database.utils.common with parameters of type IDatabaseSupplier Modifier and Type Method Description <T> TCommonDatabaseAdapter. runStatement(IDatabaseSupplier<T> supplier)<T> TConnectionProviderTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)<T> TJdbcTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)<T> TNopTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)<T> TPrintTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier) -
Uses of IDatabaseSupplier in com.ibm.fhir.database.utils.db2
Classes in com.ibm.fhir.database.utils.db2 that implement IDatabaseSupplier Modifier and Type Class Description classDb2GetTableInfoDAO to fetch the current value of FHIR_ADMIN.SV_TENANT_ID.classDb2GetTenantVariableDAO to fetch the current value of FHIR_ADMIN.SV_TENANT_ID.classDb2ListSequencesForSchemaDAO to fetch the names of sequences in the given schemaclassDb2ListTablesForSchemaDAO to fetch the names of tables in the given schemaclassDb2ListViewsForSchemaDAO to fetch the names of views in the given schema -
Uses of IDatabaseSupplier in com.ibm.fhir.database.utils.derby
Classes in com.ibm.fhir.database.utils.derby that implement IDatabaseSupplier Modifier and Type Class Description classDerbyDoesTableExistFor this implementation we simply run a select against the table and see if it kicks back with an error (which isn't related to connection failure).classDerbyListSequencesForSchemaDAO to fetch the names of sequences in the given schemaclassDerbyListTablesForSchemaDAO to fetch the names of tables in the given schemaclassDerbyListViewsForSchemaDAO to fetch the names of views in the given schemaclassDerbyLockDiagFetch all the rows from the SYSCS_DIAG.LOCK_TABLE -
Uses of IDatabaseSupplier in com.ibm.fhir.database.utils.postgres
Classes in com.ibm.fhir.database.utils.postgres that implement IDatabaseSupplier Modifier and Type Class Description classPostgresDoesForeignKeyConstraintExistDAO to check if a named foreign key (FK) constraint existsclassPostgresDoesIndexExistCheck the catalog to see if the named index existsclassPostgresDoesTableExistFor this implementation we simply run a select against the table and see if it kicks back with an error (which isn't related to connection failure).classPostgresDoesViewExistCheck the catalog to see if the named view existsclassPostgresListSequencesForSchemaDAO to fetch the names of sequences in the given schemaclassPostgresListTablesForSchemaDAO to fetch the names of tables in the given schemaclassPostgresListViewsForSchemaDAO to fetch the names of views in the given schema -
Uses of IDatabaseSupplier in com.ibm.fhir.database.utils.schema
Classes in com.ibm.fhir.database.utils.schema that implement IDatabaseSupplier Modifier and Type Class Description classCancelLeaseClear the lease if it is currently held by the given instanceclassGetLeaseObtain a lease for this instance of the schema update tool.classGetLeasePostgresqlPostgreSQL variant of GetLease to avoid duplicate PK exception which would cause the transaction to fail.classGetSchemaVersionGet the current schema version from the WHOLE_SCHEMA_VERSION table -
Uses of IDatabaseSupplier in com.ibm.fhir.database.utils.tenant
Classes in com.ibm.fhir.database.utils.tenant that implement IDatabaseSupplier Modifier and Type Class Description classFindTenantIdDAODAO to create a free tenant slot (to align with a new partition)classGetTenantDAODAO to create a free tenant slot (to align with a new partition)classMaxTenantIdDAODAO to create a free tenant slot (to align with a new partition) -
Uses of IDatabaseSupplier in com.ibm.fhir.database.utils.version
Classes in com.ibm.fhir.database.utils.version that implement IDatabaseSupplier Modifier and Type Class Description classGetLatestVersionDAOGet the latest version by object type and name. -
Uses of IDatabaseSupplier in com.ibm.fhir.persistence.jdbc.dao.impl
Classes in com.ibm.fhir.persistence.jdbc.dao.impl that implement IDatabaseSupplier Modifier and Type Class Description classReadResourceTypesDAOA DAO to read all the resource types from the RESOURCE_TYPES table in the current schema -
Uses of IDatabaseSupplier in com.ibm.fhir.schema.control
Classes in com.ibm.fhir.schema.control that implement IDatabaseSupplier Modifier and Type Class Description classGetLogicalResourceNeedsV0014MigrationChecks the value of IS_DELETED is "X" for any row found in LOGICAL_RESOURCES the given resource type.classGetResourceChangeLogEmptyChecks the RESOURCE_CHANGE_LOG table to see if it has been populated with any dataclassGetResourceTypeListSelects the existing RESOURCE_TYPES from DB2classGetTenantInfoFetch theTenantInfofor the tenantName.classGetTenantListFetch the list of tenants currently configuredclassGetXXLogicalResourceNeedsMigrationChecks the value of VERSION_ID from the first row found in xxx_LOGICAL_RESOURCES.classUnusedTableRemovalNeedsV0021MigrationChecks to see if any of the tables exist in the target database.
-