Package com.ibm.fhir.database.utils.db2
Class Db2ListTablesForSchema
- java.lang.Object
-
- com.ibm.fhir.database.utils.db2.Db2ListTablesForSchema
-
- All Implemented Interfaces:
IDatabaseSupplier<java.util.List<SchemaInfoObject>>
public class Db2ListTablesForSchema extends java.lang.Object implements IDatabaseSupplier<java.util.List<SchemaInfoObject>>
DAO to fetch the names of tables in the given schema
-
-
Constructor Summary
Constructors Constructor Description Db2ListTablesForSchema(java.lang.String schemaName)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<SchemaInfoObject>
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection and return the value
-
-
-
Method Detail
-
run
public java.util.List<SchemaInfoObject> run(IDatabaseTranslator translator, java.sql.Connection c)
Description copied from interface:IDatabaseSupplier
Execute the statement using the connection and return the value- Specified by:
run
in interfaceIDatabaseSupplier<java.util.List<SchemaInfoObject>>
- Parameters:
translator
- to translate any exceptions
-
-