Uses of Interface
org.linuxforhealth.fhir.database.utils.api.IDatabaseSupplier
-
-
Uses of IDatabaseSupplier in org.linuxforhealth.fhir.bucket.persistence
Classes in org.linuxforhealth.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 org.linuxforhealth.fhir.database.utils.api
Methods in org.linuxforhealth.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 org.linuxforhealth.fhir.database.utils.citus
Classes in org.linuxforhealth.fhir.database.utils.citus that implement IDatabaseSupplier Modifier and Type Class Description classCitusDistributionCheckDAODAO to check if the table is already distributed -
Uses of IDatabaseSupplier in org.linuxforhealth.fhir.database.utils.common
Classes in org.linuxforhealth.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 org.linuxforhealth.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 org.linuxforhealth.fhir.database.utils.derby
Classes in org.linuxforhealth.fhir.database.utils.derby that implement IDatabaseSupplier Modifier and Type Class Description classDerbyDoesForeignKeyConstraintExistInspect the Derby catalog to see if the configured constraint existsclassDerbyDoesTableExistFor 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 org.linuxforhealth.fhir.database.utils.postgres
Classes in org.linuxforhealth.fhir.database.utils.postgres that implement IDatabaseSupplier Modifier and Type Class Description classPostgresDoesConstraintExistPostgreSQL catalog query to determine if the named constraint exists for the given schema and tableclassPostgresDoesForeignKeyConstraintExistDAO 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 org.linuxforhealth.fhir.database.utils.schema
Classes in org.linuxforhealth.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 org.linuxforhealth.fhir.database.utils.version
Classes in org.linuxforhealth.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 org.linuxforhealth.fhir.persistence.jdbc.dao.impl
Classes in org.linuxforhealth.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 org.linuxforhealth.fhir.schema.control
Classes in org.linuxforhealth.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.classGetLogicalResourceNeedsV0027MigrationCheck to see if we have any data in LOGICAL_RESOURCE_IDENT.classGetResourceChangeLogEmptyChecks the RESOURCE_CHANGE_LOG table to see if it has been populated with any dataclassGetResourceTypeListSelects the existing RESOURCE_TYPES from DB2classGetXXLogicalResourceNeedsMigrationChecks the value of VERSION_ID from the first row found in xxx_LOGICAL_RESOURCES.classTableHasDataCheck if data exists in the given table.classUnusedTableRemovalNeedsV0021MigrationChecks to see if any of the tables exist in the target database.
-