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, timestampLiteralFormat
public static final String[] RESERVED_KEY_WORDS
public PostgreSQLDialect()
protected String vendorPattern()
vendorPattern
in class StandardDialect
StandardDialect.vendorPattern()
public List<String> getDefaultSchemas(DatabaseMetaData metaData) throws SQLException
getDefaultSchemas
in interface Dialect
getDefaultSchemas
in class StandardDialect
SQLException
StandardDialect.getDefaultSchemas(java.sql.DatabaseMetaData)
public int getColumnType(ColumnProperties properties)
getColumnType
in interface Dialect
getColumnType
in class StandardDialect
properties
- table column meta dataStandardDialect.getColumnType(net.sf.hajdbc.ColumnProperties)
protected Pattern identifierPattern(DatabaseMetaData metaData) throws SQLException
identifierPattern
in class StandardDialect
SQLException
protected Set<String> reservedIdentifiers(DatabaseMetaData metaData)
reservedIdentifiers
in class StandardDialect
public SequenceSupport getSequenceSupport()
getSequenceSupport
in interface Dialect
getSequenceSupport
in class StandardDialect
StandardDialect.getSequenceSupport()
public IdentityColumnSupport getIdentityColumnSupport()
getIdentityColumnSupport
in interface Dialect
getIdentityColumnSupport
in class StandardDialect
StandardDialect.getIdentityColumnSupport()
protected String truncateTableFormat()
truncateTableFormat
in class StandardDialect
StandardDialect.truncateTableFormat()
protected String sequencePattern()
sequencePattern
in class StandardDialect
StandardDialect.sequencePattern()
protected String nextSequenceValueFormat()
nextSequenceValueFormat
in class StandardDialect
StandardDialect.nextSequenceValueFormat()
protected String alterIdentityColumnFormat()
alterIdentityColumnFormat
in class StandardDialect
StandardDialect.alterIdentityColumnFormat()
protected String currentTimestampPattern()
currentTimestampPattern
in class StandardDialect
StandardDialect.currentTimestampPattern()
protected String randomPattern()
randomPattern
in class StandardDialect
StandardDialect.randomPattern()
protected String selectForUpdatePattern()
selectForUpdatePattern
in class StandardDialect
StandardDialect.selectForUpdatePattern()
public DumpRestoreSupport getDumpRestoreSupport()
getDumpRestoreSupport
in interface Dialect
getDumpRestoreSupport
in class StandardDialect
StandardDialect.getDumpRestoreSupport()
public <Z,D extends Database<Z>> void dump(D database, Decoder decoder, File file, boolean dataOnly) throws Exception
dump
in interface DumpRestoreSupport
Exception
public <Z,D extends Database<Z>> void restore(D database, Decoder decoder, File file, boolean dataOnly) throws Exception
restore
in interface DumpRestoreSupport
Exception
public TriggerSupport getTriggerSupport()
getTriggerSupport
in interface Dialect
getTriggerSupport
in class StandardDialect
StandardDialect.getTriggerSupport()
protected String createTriggerFormat()
createTriggerFormat
in class StandardDialect
StandardDialect.createForeignKeyConstraintFormat()
protected String dropTriggerFormat()
dropTriggerFormat
in class StandardDialect
StandardDialect.dropTriggerFormat()
Copyright © 2004–2014 Paul Ferraro. All rights reserved.