Liferay 6.0.5

com.liferay.portal.dao.db
Class IngresDB

java.lang.Object
  extended by com.liferay.portal.dao.db.BaseDB
      extended by com.liferay.portal.dao.db.IngresDB
All Implemented Interfaces:
DB

public class IngresDB
extends BaseDB


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 IngresDB()
           
 
Method Summary
protected  String buildCreateFileContent(String sqlDir, String databaseName, int population)
           
 String buildSQL(String template)
           
static DB getInstance()
           
protected  String getServerName()
           
protected  String[] getTemplate()
           
 boolean isSupportsAlterColumnName()
           
protected  String replaceTemplate(String template, String[] actual)
           
protected  String reword(String data)
           
 
Methods inherited from class com.liferay.portal.dao.db.BaseDB
addIndexes, buildColumnNameTokens, buildColumnTypeTokens, buildCreateFile, buildCreateFile, buildSQLFile, buildTemplate, convertTimestamp, dropIndexes, evaluateVM, getIndexes, getSuffix, getTemplateFalse, getTemplateTrue, getType, increment, isSupportsAlterColumnType, isSupportsDateMilliseconds, isSupportsScrollableResults, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, readFile, readSQL, removeBooleanIndexes, removeInserts, removeLongInserts, removeNull, 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

IngresDB

protected IngresDB()
Method Detail

getInstance

public static DB getInstance()

buildSQL

public String buildSQL(String template)
                throws IOException
Specified by:
buildSQL in interface DB
Specified by:
buildSQL in class BaseDB
Throws:
IOException

isSupportsAlterColumnName

public boolean isSupportsAlterColumnName()
Specified by:
isSupportsAlterColumnName in interface DB
Overrides:
isSupportsAlterColumnName in class BaseDB

buildCreateFileContent

protected String buildCreateFileContent(String sqlDir,
                                        String databaseName,
                                        int population)
Specified by:
buildCreateFileContent in class BaseDB

getServerName

protected String getServerName()
Specified by:
getServerName in class BaseDB

getTemplate

protected String[] getTemplate()
Specified by:
getTemplate in class BaseDB

replaceTemplate

protected String replaceTemplate(String template,
                                 String[] actual)
Overrides:
replaceTemplate in class BaseDB

reword

protected String reword(String data)
                 throws IOException
Specified by:
reword in class BaseDB
Throws:
IOException

Liferay 6.0.5