com.mysema.query.sql
Class SQLSubQuery

java.lang.Object
  extended by com.mysema.query.support.QueryBase<Q>
      extended by com.mysema.query.support.DetachableQuery<Q>
          extended by com.mysema.query.sql.AbstractSQLSubQuery<SQLSubQuery>
              extended by com.mysema.query.sql.SQLSubQuery
All Implemented Interfaces:
FilteredClause<SQLSubQuery>, Query<SQLSubQuery>, SQLCommonQuery<SQLSubQuery>, Detachable

public class SQLSubQuery
extends AbstractSQLSubQuery<SQLSubQuery>
implements SQLCommonQuery<SQLSubQuery>

SQLSubQuery is a subquery implementation for SQL queries

Author:
tiwe

Field Summary
 
Fields inherited from class com.mysema.query.support.QueryBase
queryMixin
 
Constructor Summary
SQLSubQuery()
           
SQLSubQuery(QueryMetadata metadata)
           
 
Method Summary
 BooleanExpression exists()
          Create an exists(this) expression
 BooleanExpression notExists()
          Create an not exists(this) expression
 Expression<?> union(SubQueryExpression<?>... sq)
           
 
Methods inherited from class com.mysema.query.sql.AbstractSQLSubQuery
addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, from, from, fullJoin, fullJoin, fullJoin, innerJoin, innerJoin, innerJoin, join, join, join, leftJoin, leftJoin, leftJoin, on, rightJoin, rightJoin, rightJoin, toString
 
Methods inherited from class com.mysema.query.support.DetachableQuery
count, list, list, list, list, unique, unique, unique, unique, unique, unique, unique, unique, unique, unique, unique
 
Methods inherited from class com.mysema.query.support.QueryBase
distinct, groupBy, having, limit, offset, orderBy, restrict, set, where
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.sql.SQLCommonQuery
addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, from, from, fullJoin, fullJoin, fullJoin, innerJoin, innerJoin, innerJoin, join, join, join, leftJoin, leftJoin, leftJoin, on, rightJoin, rightJoin, rightJoin
 
Methods inherited from interface com.mysema.query.Query
distinct, groupBy, having, limit, offset, orderBy, restrict, set
 
Methods inherited from interface com.mysema.query.FilteredClause
where
 

Constructor Detail

SQLSubQuery

public SQLSubQuery()

SQLSubQuery

public SQLSubQuery(QueryMetadata metadata)
Method Detail

union

public Expression<?> union(SubQueryExpression<?>... sq)

exists

public BooleanExpression exists()
Description copied from interface: Detachable
Create an exists(this) expression

Specified by:
exists in interface Detachable
Overrides:
exists in class DetachableQuery<SQLSubQuery>
Returns:

notExists

public BooleanExpression notExists()
Description copied from interface: Detachable
Create an not exists(this) expression

Specified by:
notExists in interface Detachable
Overrides:
notExists in class DetachableQuery<SQLSubQuery>
Returns:


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.