|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.dao.db.BaseDB
com.liferay.portal.dao.db.MySQLDB
public class MySQLDB
Field Summary |
---|
Fields inherited from class com.liferay.portal.dao.db.BaseDB |
---|
ALTER_COLUMN_NAME, ALTER_COLUMN_TYPE, DROP_INDEX, DROP_PRIMARY_KEY, REWORD_TEMPLATE, TEMPLATE |
Fields inherited from interface com.liferay.portal.kernel.dao.db.DB |
---|
MINIMAL, POPULATED, SHARDED, TYPE_ALL, TYPE_DB2, TYPE_DERBY, TYPE_FIREBIRD, TYPE_HYPERSONIC, TYPE_INFORMIX, TYPE_INGRES, TYPE_INTERBASE, TYPE_JDATASTORE, TYPE_MYSQL, TYPE_ORACLE, TYPE_POSTGRESQL, TYPE_SAP, TYPE_SQLSERVER, TYPE_SYBASE |
Constructor Summary | |
---|---|
protected |
MySQLDB()
|
Method Summary | |
---|---|
protected java.lang.String |
buildCreateFileContent(java.lang.String sqlDir,
java.lang.String databaseName,
int population)
|
java.lang.String |
buildSQL(java.lang.String template)
|
java.util.List<com.liferay.portal.kernel.dao.db.Index> |
getIndexes()
|
static com.liferay.portal.kernel.dao.db.DB |
getInstance()
|
protected java.lang.String |
getServerName()
|
protected java.lang.String[] |
getTemplate()
|
boolean |
isSupportsDateMilliseconds()
|
boolean |
isSupportsUpdateWithInnerJoin()
|
protected java.lang.String |
reword(java.lang.String data)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MySQLDB()
Method Detail |
---|
public static com.liferay.portal.kernel.dao.db.DB getInstance()
public java.lang.String buildSQL(java.lang.String template) throws java.io.IOException
buildSQL
in interface com.liferay.portal.kernel.dao.db.DB
buildSQL
in class BaseDB
java.io.IOException
public java.util.List<com.liferay.portal.kernel.dao.db.Index> getIndexes() throws java.sql.SQLException
getIndexes
in interface com.liferay.portal.kernel.dao.db.DB
getIndexes
in class BaseDB
java.sql.SQLException
public boolean isSupportsDateMilliseconds()
isSupportsDateMilliseconds
in interface com.liferay.portal.kernel.dao.db.DB
isSupportsDateMilliseconds
in class BaseDB
public boolean isSupportsUpdateWithInnerJoin()
isSupportsUpdateWithInnerJoin
in interface com.liferay.portal.kernel.dao.db.DB
isSupportsUpdateWithInnerJoin
in class BaseDB
protected java.lang.String buildCreateFileContent(java.lang.String sqlDir, java.lang.String databaseName, int population) throws java.io.IOException
buildCreateFileContent
in class BaseDB
java.io.IOException
protected java.lang.String getServerName()
getServerName
in class BaseDB
protected java.lang.String[] getTemplate()
getTemplate
in class BaseDB
protected java.lang.String reword(java.lang.String data) throws java.io.IOException
reword
in class BaseDB
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |