org.exolab.castor.jdo.drivers

Class PostgreSQLQueryExpression

Implemented Interfaces:
QueryExpression

public final class PostgreSQLQueryExpression
extends JDBCQueryExpression

QueryExpression for PostgreSQL 6.5/7.
Version:
$Revision: 5951 $ $Date: 2004-10-01 13:45:49 -0600 (Fri, 01 Oct 2004) $
Author:
Assaf Arkin

Nested Class Summary

Nested classes/interfaces inherited from class org.exolab.castor.jdo.drivers.JDBCQueryExpression

JDBCQueryExpression.Join

Field Summary

Fields inherited from class org.exolab.castor.jdo.drivers.JDBCQueryExpression

_cols, _conds, _dbInfo, _distinct, _factory, _joins, _limit, _offset, _order, _select, _tables, _where

Fields inherited from interface org.exolab.castor.persist.spi.QueryExpression

OpBetween, OpBetweenAnd, OpEquals, OpGreater, OpGreaterEquals, OpLess, OpLessEquals, OpLike, OpNotEquals, OpNotLike

Constructor Summary

PostgreSQLQueryExpression(PersistenceFactory factory)

Method Summary

String
getStatement(boolean lock)
Creates a SQL statement.
boolean
isLimitClauseSupported()
Provides an implementation of QueryExpression.isLimitClauseSupported().
boolean
isOffsetClauseSupported()
Provides an implementation of QueryExpression.isOffsetClauseSupported().

Methods inherited from class org.exolab.castor.jdo.drivers.JDBCQueryExpression

addColumn, addCondition, addInnerJoin, addInnerJoin, addInnerJoin, addInnerJoin, addLimitClause, addOffsetClause, addOrderClause, addOuterJoin, addOuterJoin, addOuterJoin, addOuterJoin, addParameter, addSelect, addTable, addTable, addWhereClause, addWhereClause, clone, encodeColumn, getColumnList, getStandardStatement, getStatement, isLimitClauseSupported, isOffsetClauseSupported, setDbMetaInfo, setDistinct, toString

Constructor Details

PostgreSQLQueryExpression

public PostgreSQLQueryExpression(PersistenceFactory factory)

Method Details

getStatement

public String getStatement(boolean lock)
Specified by:
getStatement in interface QueryExpression
Overrides:
getStatement in interface JDBCQueryExpression

isLimitClauseSupported

public boolean isLimitClauseSupported()
Specified by:
isLimitClauseSupported in interface QueryExpression
Overrides:
isLimitClauseSupported in interface JDBCQueryExpression
Returns:
true to indicate that this feature is supported by postgreSQL.

isOffsetClauseSupported

public boolean isOffsetClauseSupported()
Specified by:
isOffsetClauseSupported in interface QueryExpression
Overrides:
isOffsetClauseSupported in interface JDBCQueryExpression
Returns:
true to indicate that this feature is supported by postgreSQL.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com