public interface SQLDatabaseType
Modifier and Type | Method and Description |
---|---|
String |
getDriver()
Get the driver of the database type.
|
I18nizableText |
getDriverNotFoundMessage()
Get the error message key when the specified driver was not found
|
String |
getId()
Get the id of the database type.
|
I18nizableText |
getLabel()
Get the label of the database type.
|
String |
getTemplate()
Get the url template to use for this database type
|
String |
getValidationQuery()
Get the query to validate a connection
|
String |
languageEscapeTableName(String tableNameToEscape)
Some db systems requires the table names to be escaped
|
String |
languageLimitQuery(String queryToLimit,
String limit,
String offset)
Add a limit/offset element to the given query
|
I18nizableText getLabel()
String getDriver()
String getValidationQuery()
String getTemplate()
I18nizableText getDriverNotFoundMessage()
String languageEscapeTableName(String tableNameToEscape)
tableNameToEscape
- The non-null table nameString languageLimitQuery(String queryToLimit, String limit, String offset)
queryToLimit
- The sql query that will be amendedlimit
- The max number of the results to returnoffset
- The initial offset of the results to return