|
Liferay 6.1.10-ee-ga1 | |||||||||
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 String |
buildCreateFileContent(String sqlDir,
String databaseName,
int population)
|
String |
buildSQL(String template)
|
List<Index> |
getIndexes()
|
static DB |
getInstance()
|
protected String |
getServerName()
|
protected String[] |
getTemplate()
|
boolean |
isSupportsDateMilliseconds()
|
boolean |
isSupportsUpdateWithInnerJoin()
|
protected String |
reword(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 DB getInstance()
public String buildSQL(String template) throws IOException
buildSQL
in interface DB
buildSQL
in class BaseDB
IOException
public List<Index> getIndexes() throws SQLException
getIndexes
in interface DB
getIndexes
in class BaseDB
SQLException
public boolean isSupportsDateMilliseconds()
isSupportsDateMilliseconds
in interface DB
isSupportsDateMilliseconds
in class BaseDB
public boolean isSupportsUpdateWithInnerJoin()
isSupportsUpdateWithInnerJoin
in interface DB
isSupportsUpdateWithInnerJoin
in class BaseDB
protected String buildCreateFileContent(String sqlDir, String databaseName, int population) throws IOException
buildCreateFileContent
in class BaseDB
IOException
protected String getServerName()
getServerName
in class BaseDB
protected String[] getTemplate()
getTemplate
in class BaseDB
protected String reword(String data) throws IOException
reword
in class BaseDB
IOException
|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |