org.exolab.castor.jdo.drivers

Class MySQLQueryExpression

Implemented Interfaces:
QueryExpression

public final class MySQLQueryExpression
extends JDBCQueryExpression

QueryExpression for MySQL.
Version:
$Revision: 5951 $ $Date: 2004-10-01 13:45:49 -0600 (Fri, 01 Oct 2004) $
Author:
Oleg Nitz

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

MySQLQueryExpression(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

MySQLQueryExpression

public MySQLQueryExpression(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 mySQL.

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 mySQL.

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