Class DDLSchemaFeature
java.lang.Object
com.inductiveautomation.ignition.gateway.localdb.DDLSchemaFeature
- All Implemented Interfaces:
SchemaFeature
A very simple implementation of SchemaFeature that simply runs a sequence of DDL queries
-
Constructor Summary
ConstructorsConstructorDescriptionDDLSchemaFeature(String key, InternalDBFlavor dbFlavor, String... commands) DDLSchemaFeature(String key, String... commands) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(DBInterface db) If the given schema feature is not present in the database, this will be calleddbFlavor()If a schema feature is only pertinent to a particular internal db flavor, it can return it here.A module-specific key for the named feature
-
Constructor Details
-
DDLSchemaFeature
-
DDLSchemaFeature
-
-
Method Details
-
apply
Description copied from interface:SchemaFeatureIf the given schema feature is not present in the database, this will be called- Specified by:
applyin interfaceSchemaFeature- Throws:
SQLException
-
getFeatureKey
Description copied from interface:SchemaFeatureA module-specific key for the named feature- Specified by:
getFeatureKeyin interfaceSchemaFeature
-
dbFlavor
Description copied from interface:SchemaFeatureIf a schema feature is only pertinent to a particular internal db flavor, it can return it here. Otherwise, "Not_Defined" is retuned by default and will apply to all internal databases.- Specified by:
dbFlavorin interfaceSchemaFeature
-