Package com.ibm.fhir.database.utils.api
Interface IDatabaseSupplier<T>
-
- All Known Implementing Classes:
AddBucketPath,AddResourceBundle,CancelLease,Db2GetTableInfo,Db2GetTenantVariable,Db2ListSequencesForSchema,Db2ListTablesForSchema,Db2ListViewsForSchema,DerbyDoesTableExist,DerbyListSequencesForSchema,DerbyListTablesForSchema,DerbyListViewsForSchema,DerbyLockDiag,FindTenantIdDAO,GetLastProcessedLineNumber,GetLatestVersionDAO,GetLease,GetLeasePostgresql,GetLogicalResourceNeedsV0014Migration,GetResourceChangeLogEmpty,GetResourceRefsForBundleLine,GetResourceTypeList,GetSchemaVersion,GetSequenceNextValueDAO,GetTenantDAO,GetTenantInfo,GetTenantList,GetXXLogicalResourceNeedsMigration,MaxTenantIdDAO,PostgresDoesForeignKeyConstraintExist,PostgresDoesIndexExist,PostgresDoesTableExist,PostgresDoesViewExist,PostgresListSequencesForSchema,PostgresListTablesForSchema,PostgresListViewsForSchema,RegisterLoaderInstance,ResourceTypesReader,UnusedTableRemovalNeedsV0021Migration
public interface IDatabaseSupplier<T>Represents a statement runnable byIDatabaseAdapterreturning a result of type T.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Trun(IDatabaseTranslator translator, Connection c)Execute the statement using the connection and return the value
-
-
-
Method Detail
-
run
T run(IDatabaseTranslator translator, Connection c)
Execute the statement using the connection and return the value- Parameters:
translator- to translate any exceptionsc-
-
-