public interface PostgreSQLVendor extends SQLVendor
LIMIT and OFFSET clauses), and this vendor gives access to factory, which enables the creation of
these elements.PgSQLQueryFactory,
LimitClause,
OffsetClause| Modifier and Type | Method and Description |
|---|---|
PgSQLDataTypeFactory |
getDataTypeFactory()
Returns the data type factory, which knows to create PostgreSQL-specific data types as well as pre-defined
standard ones.
|
PgSQLManipulationFactory |
getManipulationFactory()
Returns the manipulation factory, which knows to create PostgreSQL-specific data manipulation statements.
|
boolean |
legacyOffsetAndLimit()
Returns whether the legacy (pre-8.4) OFFSET/LIMIT expressions are used instead of the OFFSET/FETCH defined in the
SQL 2008 standard.
|
void |
setLegacyOffsetAndLimit(boolean useLegacyOffsetAndLimit)
Sets the switch to use legacy LIMIT/OFFSET expressions instead of the OFFSET/FETCH expressions of the SQL 2008
standard.
|
getBooleanFactory, getColumnsFactory, getDefinitionFactory, getLiteralFactory, getModificationFactory, getQueryFactory, getTableReferenceFactory, toStringPgSQLDataTypeFactory getDataTypeFactory()
getDataTypeFactory in interface SQLVendorDataTypeFactoryPgSQLManipulationFactory getManipulationFactory()
getManipulationFactory in interface SQLVendorManipulationFactoryboolean legacyOffsetAndLimit()
true if the legacy OFFSET/LIMIT expressions are used; false otherwise.void setLegacyOffsetAndLimit(boolean useLegacyOffsetAndLimit)
useLegacyOffsetAndLimit - Whether to use legacy LIMIT/OFFSET expressions instead of the OFFSET/FETCH
expressions defined in the SQL 2008 standard.Copyright © 2010-2012. All Rights Reserved.