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