ALTER_COLUMN_NAME, ALTER_COLUMN_TYPE, ALTER_TABLE_NAME, CREATE_TABLE, DROP_INDEX, DROP_PRIMARY_KEY, RENAME_TABLE_TEMPLATE, REWORD_TEMPLATE, TEMPLATE
Modifier | Constructor and Description |
---|---|
protected |
MySQLDB(com.liferay.portal.kernel.dao.db.DBType dbType,
int majorVersion,
int minorVersion) |
|
MySQLDB(int majorVersion,
int minorVersion) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildSQL(java.lang.String template) |
java.util.List<com.liferay.portal.kernel.dao.db.Index> |
getIndexes(java.sql.Connection con) |
java.lang.String |
getNewUuidFunctionName() |
java.lang.String |
getPopulateSQL(java.lang.String databaseName,
java.lang.String sqlContent) |
java.lang.String |
getRecreateSQL(java.lang.String databaseName) |
protected int[] |
getSQLTypes() |
protected java.lang.String[] |
getTemplate() |
boolean |
isSupportsNewUuidFunction() |
boolean |
isSupportsUpdateWithInnerJoin() |
protected java.lang.String |
reword(java.lang.String data) |
addIndexes, buildColumnNameTokens, buildColumnTypeTokens, buildCreateFile, buildCreateFile, buildSQLFile, buildTableNameTokens, dropIndexes, getDBType, getMajorVersion, getMinorVersion, getSQLType, getTemplateBlob, getTemplateFalse, getTemplateTrue, getVersionString, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsInlineDistinct, isSupportsQueryingAfterException, isSupportsScrollableResults, isSupportsStringCaseSensitiveQuery, replaceTemplate, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, runSQLTemplateString, runSQLTemplateString, runSQLTemplateString, setSupportsStringCaseSensitiveQuery, updateIndexes
public MySQLDB(int majorVersion, int minorVersion)
protected MySQLDB(com.liferay.portal.kernel.dao.db.DBType dbType, int majorVersion, int minorVersion)
public java.lang.String buildSQL(java.lang.String template) throws java.io.IOException
public java.util.List<com.liferay.portal.kernel.dao.db.Index> getIndexes(java.sql.Connection con) throws java.sql.SQLException
getIndexes
in interface com.liferay.portal.kernel.dao.db.DB
getIndexes
in class BaseDB
java.sql.SQLException
public java.lang.String getNewUuidFunctionName()
public java.lang.String getPopulateSQL(java.lang.String databaseName, java.lang.String sqlContent)
public java.lang.String getRecreateSQL(java.lang.String databaseName)
public boolean isSupportsNewUuidFunction()
public boolean isSupportsUpdateWithInnerJoin()
isSupportsUpdateWithInnerJoin
in interface com.liferay.portal.kernel.dao.db.DB
isSupportsUpdateWithInnerJoin
in class BaseDB
protected int[] getSQLTypes()
getSQLTypes
in class BaseDB
protected java.lang.String[] getTemplate()
getTemplate
in class BaseDB