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 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 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> 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 com.ibm.fhir.database.utils.common
Classes in com.ibm.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 com.ibm.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 com.ibm.fhir.database.utils.db2
Classes in com.ibm.fhir.database.utils.db2 that implement IDatabaseSupplier Modifier and Type Class Description class
Db2GetTableInfo
DAO to fetch the current value of FHIR_ADMIN.SV_TENANT_ID.class
Db2GetTenantVariable
DAO to fetch the current value of FHIR_ADMIN.SV_TENANT_ID.class
Db2ListSequencesForSchema
DAO to fetch the names of sequences in the given schemaclass
Db2ListTablesForSchema
DAO to fetch the names of tables in the given schemaclass
Db2ListViewsForSchema
DAO 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 class
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 com.ibm.fhir.database.utils.postgres
Classes in com.ibm.fhir.database.utils.postgres that implement IDatabaseSupplier Modifier and Type Class Description class
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 com.ibm.fhir.database.utils.tenant
Classes in com.ibm.fhir.database.utils.tenant that implement IDatabaseSupplier Modifier and Type Class Description class
FindTenantIdDAO
DAO to create a free tenant slot (to align with a new partition)class
GetTenantDAO
DAO to create a free tenant slot (to align with a new partition)class
MaxTenantIdDAO
DAO 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 class
GetLatestVersionDAO
Get the latest version by object type and name. -
Uses of IDatabaseSupplier in com.ibm.fhir.schema.control
Classes in com.ibm.fhir.schema.control 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
GetLogicalResourceNeedsV0014Migration
Checks the value of IS_DELETED is "X" for any row found in LOGICAL_RESOURCES the given resource type.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
GetSchemaVersion
Get the current schema version from the WHOLE_SCHEMA_VERSION tableclass
GetTenantInfo
Fetch theTenantInfo
for the tenantName.class
GetTenantList
Fetch the list of tenants currently configuredclass
GetXXLogicalResourceNeedsMigration
Checks the value of VERSION_ID from the first row found in xxx_LOGICAL_RESOURCES.class
UnusedTableRemovalNeedsV0021Migration
Checks to see if any of the tables exist in the target database.
-