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>, SimpleQuery<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.sql.AbstractSQLSubQuery
queryMixin
 
Constructor Summary
SQLSubQuery()
           
SQLSubQuery(QueryMetadata metadata)
           
 
Method Summary
 BooleanExpression exists()
          Create an exists(this) expression
 BooleanExpression notExists()
          Create an not exists(this) expression
<T> SimpleExpression<T>
union(List<? extends SubQueryExpression<T>> sq)
           
<T> SimpleExpression<T>
union(SubQueryExpression<T>... sq)
           
 
Methods inherited from class com.mysema.query.sql.AbstractSQLSubQuery
addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, from, from, fullJoin, fullJoin, fullJoin, fullJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, on, rightJoin, 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, equals, groupBy, hashCode, having, limit, offset, orderBy, restrict, set, where
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.sql.SQLCommonQuery
addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, from, from, fullJoin, fullJoin, fullJoin, fullJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, on, rightJoin, rightJoin, rightJoin, rightJoin
 
Methods inherited from interface com.mysema.query.Query
groupBy, having
 
Methods inherited from interface com.mysema.query.SimpleQuery
distinct, 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 <T> SimpleExpression<T> union(List<? extends SubQueryExpression<T>> sq)

union

public <T> SimpleExpression<T> union(SubQueryExpression<T>... 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-2012 Mysema Ltd. All Rights Reserved.