|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PostgreSQLVendor
This is vendor for PostgreSQL database. PostgreSQL provides some extra SQL syntax elements for queries (notably
LIMIT and OFFSET clauses), and this vendor gives access to factory, which enables the creation of
these elements.
PgSQLQueryFactory,
LimitClause,
OffsetClause| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.sql.generation.api.vendor.SQLVendor |
|---|
getBooleanFactory, getColumnsFactory, getDefinitionFactory, getLiteralFactory, getModificationFactory, getQueryFactory, getTableReferenceFactory, toString |
| Method Detail |
|---|
PgSQLDataTypeFactory 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||