Interface SchemaFeature
- 
- All Known Implementing Classes:
- DBTranslatorRecord.AddTextTypeSchemaFeature,- DDLSchemaFeature,- EncodedStringField.ConvertStringToEncodedSchemaFeature
 
 public interface SchemaFeatureSchemaFeature is used to ensure that the internal database has particular attributes ("features"). Modules should register schema features on startup through theSchemaUpdater- if a particular feature does not exist (no such FeatureKey present), theapply(DBInterface)function will be called, allowing the implementor to take whatever action it wants.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidapply(DBInterface db)If the given schema feature is not present in the database, this will be calleddefault InternalDBFlavordbFlavor()If a schema feature is only pertinent to a particular internal db flavor, it can return it here.java.lang.StringgetFeatureKey()A module-specific key for the named feature
 
- 
- 
- 
Method Detail- 
getFeatureKeyjava.lang.String getFeatureKey() A module-specific key for the named feature
 - 
applyvoid apply(DBInterface db) throws java.sql.SQLException If the given schema feature is not present in the database, this will be called- Throws:
- java.sql.SQLException
 
 - 
dbFlavordefault InternalDBFlavor dbFlavor() If 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.
 
- 
 
-