org.sql.generation.api.vendor
Interface PostgreSQLVendor

All Superinterfaces:
SQLVendor

public interface PostgreSQLVendor
extends SQLVendor

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.

Author:
Stanislav Muhametsin
See Also:
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.
 PgSQLQueryFactory getQueryFactory()
          Returns the query factory, which knows to create PostgreSQL-specific query elements.
 
Methods inherited from interface org.sql.generation.api.vendor.SQLVendor
getBooleanFactory, getColumnsFactory, getDefinitionFactory, getLiteralFactory, getModificationFactory, getTableReferenceFactory, toString
 

Method Detail

getQueryFactory

PgSQLQueryFactory getQueryFactory()
Returns the query factory, which knows to create PostgreSQL-specific query elements.

Specified by:
getQueryFactory in interface SQLVendor
Returns:
The query factory of this vendor.
See Also:
QueryFactory, QuerySpecification

getDataTypeFactory

PgSQLDataTypeFactory getDataTypeFactory()
Returns the data type factory, which knows to create PostgreSQL-specific data types as well as pre-defined standard ones.

Specified by:
getDataTypeFactory in interface SQLVendor
Returns:
The factory to create syntax elements for SQL data types.
See Also:
DataTypeFactory

getManipulationFactory

PgSQLManipulationFactory getManipulationFactory()
Returns the manipulation factory, which knows to create PostgreSQL-specific data manipulation statements.

Specified by:
getManipulationFactory in interface SQLVendor
Returns:
The factory to create manipulation statements.
See Also:
ManipulationFactory


Copyright © 2010. All Rights Reserved.