Package com.ibm.fhir.schema.control
Class GetSchemaVersion
- java.lang.Object
-
- com.ibm.fhir.schema.control.GetSchemaVersion
-
- All Implemented Interfaces:
IDatabaseSupplier<Integer>
public class GetSchemaVersion extends Object implements IDatabaseSupplier<Integer>
Get the current schema version from the WHOLE_SCHEMA_VERSION table
-
-
Constructor Summary
Constructors Constructor Description GetSchemaVersion(String schemaName)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
run(IDatabaseTranslator translator, Connection c)
Execute the statement using the connection and return the value
-
-
-
Constructor Detail
-
GetSchemaVersion
public GetSchemaVersion(String schemaName)
Public constructor- Parameters:
schemaName
-
-
-
Method Detail
-
run
public Integer 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<Integer>
- Parameters:
translator
- to translate any exceptions
-
-