public class MariaDBDialect extends Object implements SQLDialect
SQLDialect.SQLDialect.LimitHandler| Constructor and Description |
|---|
MariaDBDialect() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteStatementTargetRequired()
Get whether the DELETE clause target must be specified.
|
boolean |
generatedKeyAlwaysReturned()
Retrieves whether a generated key will always be returned if the column name(s) or index(es) specified for the
auto generated key column(s) are valid and the statement succeeds.
|
Optional<SQLDialect.LimitHandler> |
getLimitHandler()
Get the
SQLDialect.LimitHandler |
void |
init(SQLDialectContext context)
Dialect initialization hook at parent datastore initialization.
|
boolean |
supportsGetGeneratedKeys()
Retrieves whether auto-generated keys can be retrieved after a statement has been executed.
|
boolean |
supportsLikeEscapeClause()
Retrieves whether this database supports specifying a
LIKE escape clause. |
boolean |
useOuterInJoins()
Get whether to use the
OUTER keyword in join serialization. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdb2, deleteStatementAliasSupported, derby, detect, getColumnName, getJavaType, getSqlType, getTableName, h2, HANA, hsqldb, informix, mariaDB, mySQL, oracle, postgreSQL, resolveFunction, sqlite, sqlServer, supportGetGeneratedKeyByName, supportsBinaryStreamParameter, supportsSqlType, updateStatementAliasSupported, updateStatementFromSupported, updateStatementSetAliasSupportedpublic void init(SQLDialectContext context) throws SQLException
SQLDialectinit in interface SQLDialectcontext - Dialect contextSQLException - An error occurred during dialect initializationpublic boolean supportsLikeEscapeClause()
SQLDialectLIKE escape clause.supportsLikeEscapeClause in interface SQLDialecttrue if so; false otherwisepublic boolean supportsGetGeneratedKeys()
SQLDialectsupportsGetGeneratedKeys in interface SQLDialecttrue if auto-generated keys can be retrieved after a statement has executed;
false otherwisepublic boolean generatedKeyAlwaysReturned()
SQLDialectgeneratedKeyAlwaysReturned in interface SQLDialecttrue if so; false otherwisepublic boolean deleteStatementTargetRequired()
SQLDialectdeleteStatementTargetRequired in interface SQLDialecttrue if the DELETE clause target must be specifiedpublic boolean useOuterInJoins()
SQLDialectOUTER keyword in join serialization.useOuterInJoins in interface SQLDialecttrue to use the OUTER keyword in join serializationpublic Optional<SQLDialect.LimitHandler> getLimitHandler()
SQLDialectSQLDialect.LimitHandlergetLimitHandler in interface SQLDialectCopyright © 2018 The Holon Platform. All rights reserved.