public class PostgreSQLDialect extends StandardDialect implements DumpRestoreSupport
TriggerSupport.TriggerEventEnum, TriggerSupport.TriggerTimeEnum| Modifier and Type | Field and Description |
|---|---|
static String[] |
RESERVED_KEY_WORDS |
SQL_2003_RESERVED_KEY_WORDS| Constructor and Description |
|---|
PostgreSQLDialect() |
alterSequenceFormat, createColumnPropertiesFactory, createForeignKeyConstraintFactory, createForeignKeyConstraintFormat, createIdentifierNormalizer, createQualifiedNameFactory, createSchemaFormat, createSequencePropertiesFactory, createUniqueConstraintFactory, createUniqueConstraintFormat, currentDatePattern, currentTimePattern, dateLiteralFormat, dropConstraintFormat, dropForeignKeyConstraintFormat, dropSchemaFormat, dropUniqueConstraintFormat, dummyTable, evaluateCurrentDate, evaluateCurrentTime, evaluateCurrentTimestamp, evaluateRand, executeFunction, executeFunctionFormat, executeFunctionSQL, executeQuery, failureXAErrorCodes, getAlterIdentityColumnSQL, getAlterSequenceSQL, getColumns, getConnectionProperties, getCreateForeignKeyConstraintSQL, getCreateSchemaSQL, getCreateTriggerSQL, getCreateUniqueConstraintSQL, getDropForeignKeyConstraintSQL, getDropSchemaSQL, getDropTriggerSQL, getDropUniqueConstraintSQL, getForeignKeyConstraints, getIdentityColumns, getNextSequenceValueSQL, getPrimaryKey, getSequences, getTables, getTriggerRowAlias, getTruncateTableSQL, getTypes, getUniqueConstraints, indicatesFailure, indicatesFailure, indicatesFailure, indicatesFailure, insertIntoTablePattern, isSelectForUpdate, isValid, locatorPattern, meetsRequirement, parse, parseInsertTable, parseSequence, schemaPattern, sequenceTableType, timeLiteralFormat, timestampLiteralFormatpublic static final String[] RESERVED_KEY_WORDS
public PostgreSQLDialect()
protected String vendorPattern()
vendorPattern in class StandardDialectStandardDialect.vendorPattern()public List<String> getDefaultSchemas(DatabaseMetaData metaData) throws SQLException
getDefaultSchemas in interface DialectgetDefaultSchemas in class StandardDialectSQLExceptionStandardDialect.getDefaultSchemas(java.sql.DatabaseMetaData)public int getColumnType(ColumnProperties properties)
getColumnType in interface DialectgetColumnType in class StandardDialectproperties - table column meta dataStandardDialect.getColumnType(net.sf.hajdbc.ColumnProperties)protected Pattern identifierPattern(DatabaseMetaData metaData) throws SQLException
identifierPattern in class StandardDialectSQLExceptionprotected Set<String> reservedIdentifiers(DatabaseMetaData metaData)
reservedIdentifiers in class StandardDialectpublic SequenceSupport getSequenceSupport()
getSequenceSupport in interface DialectgetSequenceSupport in class StandardDialectStandardDialect.getSequenceSupport()public IdentityColumnSupport getIdentityColumnSupport()
getIdentityColumnSupport in interface DialectgetIdentityColumnSupport in class StandardDialectStandardDialect.getIdentityColumnSupport()protected String truncateTableFormat()
truncateTableFormat in class StandardDialectStandardDialect.truncateTableFormat()protected String sequencePattern()
sequencePattern in class StandardDialectStandardDialect.sequencePattern()protected String nextSequenceValueFormat()
nextSequenceValueFormat in class StandardDialectStandardDialect.nextSequenceValueFormat()protected String alterIdentityColumnFormat()
alterIdentityColumnFormat in class StandardDialectStandardDialect.alterIdentityColumnFormat()protected String currentTimestampPattern()
currentTimestampPattern in class StandardDialectStandardDialect.currentTimestampPattern()protected String randomPattern()
randomPattern in class StandardDialectStandardDialect.randomPattern()protected String selectForUpdatePattern()
selectForUpdatePattern in class StandardDialectStandardDialect.selectForUpdatePattern()public DumpRestoreSupport getDumpRestoreSupport()
getDumpRestoreSupport in interface DialectgetDumpRestoreSupport in class StandardDialectStandardDialect.getDumpRestoreSupport()public <Z,D extends Database<Z>> void dump(D database, Decoder decoder, File file, boolean dataOnly) throws Exception
dump in interface DumpRestoreSupportExceptionpublic <Z,D extends Database<Z>> void restore(D database, Decoder decoder, File file, boolean dataOnly) throws Exception
restore in interface DumpRestoreSupportExceptionpublic TriggerSupport getTriggerSupport()
getTriggerSupport in interface DialectgetTriggerSupport in class StandardDialectStandardDialect.getTriggerSupport()protected String createTriggerFormat()
createTriggerFormat in class StandardDialectStandardDialect.createForeignKeyConstraintFormat()protected String dropTriggerFormat()
dropTriggerFormat in class StandardDialectStandardDialect.dropTriggerFormat()Copyright © 2004–2014 Paul Ferraro. All rights reserved.