public class PostgreSQLDB extends BaseDB
ALTER_COLUMN_NAME, ALTER_COLUMN_TYPE, ALTER_TABLE_NAME, CREATE_TABLE, DROP_INDEX, DROP_PRIMARY_KEY, RENAME_TABLE_TEMPLATE, REWORD_TEMPLATE, TEMPLATE| Constructor and Description |
|---|
PostgreSQLDB(int majorVersion,
int minorVersion) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildCreateFileContent(String sqlDir,
String databaseName,
int population) |
String |
buildSQL(String template) |
static String |
getCreateRulesSQL(String tableName,
String columnName) |
List<com.liferay.portal.kernel.dao.db.Index> |
getIndexes(Connection con) |
protected String |
getServerName() |
protected String[] |
getTemplate() |
boolean |
isSupportsQueryingAfterException() |
protected String |
reword(String data) |
addIndexes, applyMaxStringIndexLengthLimitation, buildColumnNameTokens, buildColumnTypeTokens, buildCreateFile, buildCreateFile, buildSQLFile, buildTableNameTokens, buildTemplate, convertTimestamp, dropIndexes, evaluateVM, getCreateTablesContent, getDBType, getMajorVersion, getMinorVersion, getSuffix, getTemplateBlob, getTemplateFalse, getTemplateTrue, getVersionString, handleSQLException, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsInlineDistinct, isSupportsScrollableResults, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, readFile, readSQL, removeBooleanIndexes, removeInserts, removeLongInserts, removeNull, replaceTemplate, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, runSQLTemplateString, setSupportsStringCaseSensitiveQuery, updateIndexespublic String buildSQL(String template) throws IOException
buildSQL in interface com.liferay.portal.kernel.dao.db.DBbuildSQL in class BaseDBIOExceptionpublic List<com.liferay.portal.kernel.dao.db.Index> getIndexes(Connection con) throws SQLException
getIndexes in interface com.liferay.portal.kernel.dao.db.DBgetIndexes in class BaseDBSQLExceptionpublic boolean isSupportsQueryingAfterException()
isSupportsQueryingAfterException in interface com.liferay.portal.kernel.dao.db.DBisSupportsQueryingAfterException in class BaseDBprotected String buildCreateFileContent(String sqlDir, String databaseName, int population) throws IOException
buildCreateFileContent in class BaseDBIOExceptionprotected String getServerName()
getServerName in class BaseDBprotected String[] getTemplate()
getTemplate in class BaseDBprotected String reword(String data) throws IOException
reword in class BaseDBIOException