com.mysema.query.sql
Class AbstractSQLSubQuery<Q extends AbstractSQLSubQuery<Q>>
java.lang.Object
com.mysema.query.support.QueryBase<Q>
com.mysema.query.support.DetachableQuery<Q>
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
Method Summary |
protected Q |
addFlag(QueryFlag.Position position,
Expression<?> flag)
Add the given Expression as a query flag |
protected Q |
addFlag(QueryFlag.Position position,
String flag)
Add the given String literal as a query flag |
protected Q |
addFlag(QueryFlag.Position position,
String prefix,
Expression<?> expr)
Add the given prefix and expression as a general query flag |
Q |
from(Expression<?>... args)
|
Q |
from(SubQueryExpression<?> subQuery,
Path<?> alias)
|
|
fullJoin(ForeignKey<E> key,
RelationalPath<E> entity)
|
Q |
fullJoin(RelationalPath<?> target)
|
Q |
fullJoin(SubQueryExpression<?> target,
Path<?> alias)
|
|
innerJoin(ForeignKey<E> key,
RelationalPath<E> entity)
|
Q |
innerJoin(RelationalPath<?> target)
|
Q |
innerJoin(SubQueryExpression<?> target,
Path<?> alias)
|
|
join(ForeignKey<E> key,
RelationalPath<E> entity)
|
Q |
join(RelationalPath<?> target)
|
Q |
join(SubQueryExpression<?> target,
Path<?> alias)
|
|
leftJoin(ForeignKey<E> key,
RelationalPath<E> entity)
|
Q |
leftJoin(RelationalPath<?> target)
|
Q |
leftJoin(SubQueryExpression<?> target,
Path<?> alias)
|
Q |
on(Predicate... conditions)
|
|
rightJoin(ForeignKey<E> key,
RelationalPath<E> entity)
|
Q |
rightJoin(RelationalPath<?> target)
|
Q |
rightJoin(SubQueryExpression<?> 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 |
AbstractSQLSubQuery
public AbstractSQLSubQuery()
AbstractSQLSubQuery
public AbstractSQLSubQuery(QueryMetadata metadata)
addFlag
protected Q addFlag(QueryFlag.Position position,
String prefix,
Expression<?> expr)
- Add the given prefix and expression as a general query flag
- Parameters:
position
- position of the flagprefix
- prefix for the flagexpr
- expression of the flag
- Returns:
addFlag
protected Q addFlag(QueryFlag.Position position,
String flag)
- Add the given String literal as a query flag
- Parameters:
position
- flag
-
- Returns:
addFlag
protected Q addFlag(QueryFlag.Position position,
Expression<?> flag)
- Add the given Expression as a query flag
- Parameters:
position
- flag
-
- Returns:
from
public Q from(Expression<?>... args)
from
public Q from(SubQueryExpression<?> subQuery,
Path<?> alias)
fullJoin
public <E> Q fullJoin(ForeignKey<E> key,
RelationalPath<E> entity)
fullJoin
public Q fullJoin(RelationalPath<?> target)
fullJoin
public Q fullJoin(SubQueryExpression<?> target,
Path<?> alias)
innerJoin
public <E> Q innerJoin(ForeignKey<E> key,
RelationalPath<E> entity)
innerJoin
public Q innerJoin(RelationalPath<?> target)
innerJoin
public Q innerJoin(SubQueryExpression<?> target,
Path<?> alias)
join
public <E> Q join(ForeignKey<E> key,
RelationalPath<E> entity)
join
public Q join(RelationalPath<?> target)
join
public Q join(SubQueryExpression<?> target,
Path<?> alias)
leftJoin
public <E> Q leftJoin(ForeignKey<E> key,
RelationalPath<E> entity)
leftJoin
public Q leftJoin(RelationalPath<?> target)
leftJoin
public Q leftJoin(SubQueryExpression<?> target,
Path<?> alias)
on
public Q on(Predicate... conditions)
rightJoin
public <E> Q rightJoin(ForeignKey<E> key,
RelationalPath<E> entity)
rightJoin
public Q rightJoin(RelationalPath<?> target)
rightJoin
public Q rightJoin(SubQueryExpression<?> target,
Path<?> alias)
toString
public String toString()
- Overrides:
toString
in class QueryBase<Q extends AbstractSQLSubQuery<Q>>
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.