Class GetLogicalResourceNeedsV0014Migration
- java.lang.Object
-
- org.linuxforhealth.fhir.schema.control.GetLogicalResourceNeedsV0014Migration
-
- All Implemented Interfaces:
IDatabaseSupplier<java.lang.Boolean>
public class GetLogicalResourceNeedsV0014Migration extends java.lang.Object implements IDatabaseSupplier<java.lang.Boolean>
Checks the value of IS_DELETED is "X" for any row found in LOGICAL_RESOURCES the given resource type. If found, it means that the table needs to be migrated. If not found, then obviously there's no need for migration.
-
-
Constructor Summary
Constructors Constructor Description GetLogicalResourceNeedsV0014Migration(java.lang.String schemaName, int resourceTypeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection and return the value
-
-
-
Method Detail
-
run
public java.lang.Boolean 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.lang.Boolean>
- Parameters:
translator
- to translate any exceptions
-
-