com.mysema.query.sql
Class AbstractSQLSubQuery<Q extends AbstractSQLSubQuery<Q>>

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<Q>
All Implemented Interfaces:
Detachable
Direct Known Subclasses:
SQLSubQuery

public class AbstractSQLSubQuery<Q extends AbstractSQLSubQuery<Q>>
extends DetachableQuery<Q>

Abstract superclass for SubQuery implementations

Author:
tiwe

Field Summary
 
Fields inherited from class com.mysema.query.support.QueryBase
queryMixin
 
Constructor Summary
AbstractSQLSubQuery()
           
AbstractSQLSubQuery(QueryMetadata metadata)
           
 
Method Summary
protected  Q addFlag(QueryFlag.Position position, Expr<?> flag)
           
protected  Q addFlag(QueryFlag.Position position, String flag)
           
protected  Q addFlag(QueryFlag.Position position, String prefix, Expr<?> expr)
           
 Q from(Expr<?>... args)
           
<E> Q
fullJoin(ForeignKey<E> key, PEntity<E> entity)
           
 Q fullJoin(PEntity<?> target)
           
 Q fullJoin(SubQuery<?> target, Path<?> alias)
           
<E> Q
innerJoin(ForeignKey<E> key, PEntity<E> entity)
           
 Q innerJoin(PEntity<?> target)
           
 Q innerJoin(SubQuery<?> target, Path<?> alias)
           
<E> Q
join(ForeignKey<E> key, PEntity<E> entity)
           
 Q join(PEntity<?> target)
           
 Q join(SubQuery<?> target, Path<?> alias)
           
<E> Q
leftJoin(ForeignKey<E> key, PEntity<E> entity)
           
 Q leftJoin(PEntity<?> target)
           
 Q leftJoin(SubQuery<?> target, Path<?> alias)
           
 Q on(EBoolean... conditions)
           
<E> Q
rightJoin(ForeignKey<E> key, PEntity<E> entity)
           
 Q rightJoin(PEntity<?> target)
           
 Q rightJoin(SubQuery<?> target, Path<?> alias)
           
 String toString()
           
 
Methods inherited from class com.mysema.query.support.DetachableQuery
count, exists, list, list, list, notExists, unique, unique, unique, unique, unique, unique, unique, unique, unique, unique
 
Methods inherited from class com.mysema.query.support.QueryBase
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
 

Constructor Detail

AbstractSQLSubQuery

public AbstractSQLSubQuery()

AbstractSQLSubQuery

public AbstractSQLSubQuery(QueryMetadata metadata)
Method Detail

addFlag

protected Q addFlag(QueryFlag.Position position,
                    String prefix,
                    Expr<?> expr)

addFlag

protected Q addFlag(QueryFlag.Position position,
                    String flag)

addFlag

protected Q addFlag(QueryFlag.Position position,
                    Expr<?> flag)

from

public Q from(Expr<?>... args)

fullJoin

public <E> Q fullJoin(ForeignKey<E> key,
                      PEntity<E> entity)

fullJoin

public Q fullJoin(PEntity<?> target)

fullJoin

public Q fullJoin(SubQuery<?> target,
                  Path<?> alias)

innerJoin

public <E> Q innerJoin(ForeignKey<E> key,
                       PEntity<E> entity)

innerJoin

public Q innerJoin(PEntity<?> target)

innerJoin

public Q innerJoin(SubQuery<?> target,
                   Path<?> alias)

join

public <E> Q join(ForeignKey<E> key,
                  PEntity<E> entity)

join

public Q join(PEntity<?> target)

join

public Q join(SubQuery<?> target,
              Path<?> alias)

leftJoin

public <E> Q leftJoin(ForeignKey<E> key,
                      PEntity<E> entity)

leftJoin

public Q leftJoin(PEntity<?> target)

leftJoin

public Q leftJoin(SubQuery<?> target,
                  Path<?> alias)

on

public Q on(EBoolean... conditions)

rightJoin

public <E> Q rightJoin(ForeignKey<E> key,
                       PEntity<E> entity)

rightJoin

public Q rightJoin(PEntity<?> target)

rightJoin

public Q rightJoin(SubQuery<?> target,
                   Path<?> alias)

toString

public String toString()
Overrides:
toString in class QueryBase<Q extends AbstractSQLSubQuery<Q>>


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