org.datanucleus.store.rdbms.sql.expression
Class BooleanSubqueryExpression

java.lang.Object
  extended by org.datanucleus.store.rdbms.sql.expression.SQLExpression
      extended by org.datanucleus.store.rdbms.sql.expression.BooleanExpression
          extended by org.datanucleus.store.rdbms.sql.expression.BooleanSubqueryExpression

public class BooleanSubqueryExpression
extends BooleanExpression

Boolean expression to wrap a subquery. The subquery will be a "SELECT 1 FROM ..." resulting in SQL like

{keyword} (SELECT 1 FROM ...)
where the keyword is supplied (e.g EXISTS). e.g
EXISTS (SELECT 1 FROM TBL WHERE TBL.ID = A0.ID)


Nested Class Summary
 
Nested classes/interfaces inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
SQLExpression.ColumnExpressionList
 
Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
isParameter, LOCALISER, lowestOperator, mapping, st, stmt, subExprs, table
 
Constructor Summary
BooleanSubqueryExpression(SQLStatement stmt, java.lang.String keyword, SQLStatement subStmt)
           
 
Method Summary
 
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.BooleanExpression
and, eor, eq, in, invoke, ior, ne, neg, not
 
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
add, cast, checkForAndCorrectParameterComparison, com, div, encloseInParentheses, ge, getJavaTypeMapping, getNumberOfSubExpressions, getSQLStatement, getSQLTable, gt, is, isParameter, le, lt, mod, mul, sub, toSQLText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanSubqueryExpression

public BooleanSubqueryExpression(SQLStatement stmt,
                                 java.lang.String keyword,
                                 SQLStatement subStmt)


Copyright © 2009. All Rights Reserved.