Class ProgressQueryExpression
- java.lang.Object
-
- org.castor.cpa.persistence.sql.driver.JDBCQueryExpression
-
- org.castor.cpa.persistence.sql.driver.ProgressQueryExpression
-
- All Implemented Interfaces:
QueryExpression
public final class ProgressQueryExpression extends JDBCQueryExpression
QueryExpression for Progress RDBMS.- Version:
- $Revision: 5951 $ $Date: 2004-09-08 03:37:54 -0600 (Wed, 08 Sep 2004) $
- Author:
- Werner Guttmann
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.castor.cpa.persistence.sql.driver.JDBCQueryExpression
JDBCQueryExpression.Join
-
-
Field Summary
-
Fields inherited from class org.castor.cpa.persistence.sql.driver.JDBCQueryExpression
_dbInfo, _distinct, _factory, _joins, _limit, _offset, _order, _select, _tables
-
Fields inherited from interface org.exolab.castor.persist.spi.QueryExpression
OP_BETWEEN, OP_BETWEEN_AND, OP_EQUALS, OP_GREATER, OP_GREATER_EQUALS, OP_LESS, OP_LESS_EQUALS, OP_LIKE, OP_NOT_EQUALS, OP_NOT_LIKE
-
-
Constructor Summary
Constructors Constructor Description ProgressQueryExpression(PersistenceFactory factory)Creates an instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetStatement(boolean lock)Creates a SQL statement.booleanisLimitClauseSupported()Provides a default implementation ofQueryExpression.isLimitClauseSupported().-
Methods inherited from class org.castor.cpa.persistence.sql.driver.JDBCQueryExpression
addColumn, addCondition, addInnerJoin, addLimitClause, addOffsetClause, addOrderClause, addOuterJoin, addParameter, addSelect, addTable, addWhereClause, addWhereClause, clone, encodeColumn, getColumnList, getStandardStatement, isOffsetClauseSupported, setDbMetaInfo, setDistinct, toString
-
-
-
-
Constructor Detail
-
ProgressQueryExpression
public ProgressQueryExpression(PersistenceFactory factory)
Creates an instance of this class.- Parameters:
factory- The persistence factory to be assigned against.
-
-
Method Detail
-
getStatement
public java.lang.String getStatement(boolean lock)
Description copied from class:JDBCQueryExpressionCreates a SQL statement. In general, for a RDBMS/JDBC driver with a full support of the SQL standard/JDBC specification, this will return a valid SQL statement. For some features, a particular RDBMS might indicate that it does not support this feature by throwing aSyntaxNotSupportedException.- Specified by:
getStatementin interfaceQueryExpression- Overrides:
getStatementin classJDBCQueryExpression- Parameters:
lock- True if a write lock is required- Returns:
- The SQL statement
-
isLimitClauseSupported
public boolean isLimitClauseSupported()
Description copied from class:JDBCQueryExpressionProvides a default implementation ofQueryExpression.isLimitClauseSupported().- Specified by:
isLimitClauseSupportedin interfaceQueryExpression- Overrides:
isLimitClauseSupportedin classJDBCQueryExpression- Returns:
- false to indicate that this feature is not supported by default.
- See Also:
QueryExpression.isLimitClauseSupported()
-
-