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 class
AddBucketPath
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclass
AddResourceBundle
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclass
GetLastProcessedLineNumber
Finds the greater line number successfully processed for a particular resource bundleclass
GetResourceRefsForBundleLine
Fetches the list of resources which have been created from processing a given line of a bundle.class
RegisterLoaderInstance
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schemaclass
ResourceTypesReader
DAO 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> T
IDatabaseAdapter. runStatement(IDatabaseSupplier<T> supplier)
Run the given supplier statement against the database represented by this adapter<T> T
IDatabaseTarget. 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 class
CitusDistributionCheckDAO
DAO 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 class
GetSequenceNextValueDAO
DAO 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> T
CommonDatabaseAdapter. runStatement(IDatabaseSupplier<T> supplier)
<T> T
ConnectionProviderTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)
<T> T
JdbcTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)
<T> T
NopTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)
<T> T
PrintTarget. 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 class
DerbyDoesForeignKeyConstraintExist
Inspect the Derby catalog to see if the configured constraint existsclass
DerbyDoesTableExist
For 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).class
DerbyListSequencesForSchema
DAO to fetch the names of sequences in the given schemaclass
DerbyListTablesForSchema
DAO to fetch the names of tables in the given schemaclass
DerbyListViewsForSchema
DAO to fetch the names of views in the given schemaclass
DerbyLockDiag
Fetch 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 class
PostgresDoesConstraintExist
PostgreSQL catalog query to determine if the named constraint exists for the given schema and tableclass
PostgresDoesForeignKeyConstraintExist
DAO to check if a named foreign key (FK) constraint existsclass
PostgresDoesIndexExist
Check the catalog to see if the named index existsclass
PostgresDoesTableExist
For 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).class
PostgresDoesViewExist
Check the catalog to see if the named view existsclass
PostgresListSequencesForSchema
DAO to fetch the names of sequences in the given schemaclass
PostgresListTablesForSchema
DAO to fetch the names of tables in the given schemaclass
PostgresListViewsForSchema
DAO 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 class
CancelLease
Clear the lease if it is currently held by the given instanceclass
GetLease
Obtain a lease for this instance of the schema update tool.class
GetLeasePostgresql
PostgreSQL variant of GetLease to avoid duplicate PK exception which would cause the transaction to fail.class
GetSchemaVersion
Get 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 class
GetLatestVersionDAO
Get 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 class
ReadResourceTypesDAO
A 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 class
GetLogicalResourceNeedsV0014Migration
Checks the value of IS_DELETED is "X" for any row found in LOGICAL_RESOURCES the given resource type.class
GetLogicalResourceNeedsV0027Migration
Check to see if we have any data in LOGICAL_RESOURCE_IDENT.class
GetResourceChangeLogEmpty
Checks the RESOURCE_CHANGE_LOG table to see if it has been populated with any dataclass
GetResourceTypeList
Selects the existing RESOURCE_TYPES from DB2class
GetXXLogicalResourceNeedsMigration
Checks the value of VERSION_ID from the first row found in xxx_LOGICAL_RESOURCES.class
TableHasData
Check if data exists in the given table.class
UnusedTableRemovalNeedsV0021Migration
Checks to see if any of the tables exist in the target database.
-