Class PostgresListSequencesForSchema
- java.lang.Object
-
- com.ibm.fhir.database.utils.postgres.PostgresListSequencesForSchema
-
- All Implemented Interfaces:
IDatabaseSupplier<List<SchemaInfoObject>>
public class PostgresListSequencesForSchema extends Object implements IDatabaseSupplier<List<SchemaInfoObject>>
DAO to fetch the names of sequences in the given schema
-
-
Constructor Summary
Constructors Constructor Description PostgresListSequencesForSchema(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
-
PostgresListSequencesForSchema
public PostgresListSequencesForSchema(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
-
-