Liferay 6.1.2-ce-ga3

com.liferay.portal.tools.samplesqlbuilder
Class SampleMySQLDB

java.lang.Object
  extended by com.liferay.portal.dao.db.BaseDB
      extended by com.liferay.portal.dao.db.MySQLDB
          extended by com.liferay.portal.tools.samplesqlbuilder.SampleMySQLDB
All Implemented Interfaces:
DB

public class SampleMySQLDB
extends MySQLDB

A simplified version of MySQLDB for sample SQL generation. This should not be used for any other purposes.


Field Summary
 
Fields inherited from class com.liferay.portal.dao.db.BaseDB
ALTER_COLUMN_NAME, ALTER_COLUMN_TYPE, ALTER_TABLE_NAME, DROP_INDEX, DROP_PRIMARY_KEY, RENAME_TABLE_TEMPLATE, 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
SampleMySQLDB()
           
 
Method Summary
 String buildSQL(String template)
           
 
Methods inherited from class com.liferay.portal.dao.db.MySQLDB
buildCreateFileContent, getIndexes, getInstance, getServerName, getTemplate, isSupportsDateMilliseconds, isSupportsUpdateWithInnerJoin, reword
 
Methods inherited from class com.liferay.portal.dao.db.BaseDB
addIndexes, buildColumnNameTokens, buildColumnTypeTokens, buildCreateFile, buildCreateFile, buildSQLFile, buildTableNameTokens, buildTemplate, convertTimestamp, dropIndexes, evaluateVM, getCreateTablesContent, getSuffix, getTemplateFalse, getTemplateTrue, getType, handleSQLException, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsInlineDistinct, isSupportsScrollableResults, isSupportsStringCaseSensitiveQuery, readFile, readSQL, removeBooleanIndexes, removeInserts, removeLongInserts, removeNull, replaceTemplate, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, setSupportsStringCaseSensitiveQuery, updateIndexes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleMySQLDB

public SampleMySQLDB()
Method Detail

buildSQL

public String buildSQL(String template)
Specified by:
buildSQL in interface DB
Overrides:
buildSQL in class MySQLDB

Liferay 6.1.2-ce-ga3