|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.support.QueryBase<Q> com.mysema.query.support.DetachableQuery<Q> com.mysema.query.sql.AbstractSQLSubQuery<Q>
public class AbstractSQLSubQuery<Q extends AbstractSQLSubQuery<Q>>
Abstract superclass for SubQuery implementations
Field Summary | |
---|---|
protected SQLQueryMixin<Q> |
queryMixin
|
Constructor Summary | |
---|---|
AbstractSQLSubQuery()
|
|
AbstractSQLSubQuery(QueryMetadata metadata)
|
Method Summary | ||
---|---|---|
Q |
addFlag(QueryFlag.Position position,
Expression<?> flag)
Add the given Expression as a query flag |
|
Q |
addFlag(QueryFlag.Position position,
String flag)
Add the given String literal as a query flag |
|
Q |
addFlag(QueryFlag.Position position,
String prefix,
Expression<?> expr)
Add the given prefix and expression as a general query flag |
|
Q |
addJoinFlag(String flag)
Add the given String literal as a join flag to the last added join with the position BEFORE_TARGET |
|
Q |
addJoinFlag(String flag,
JoinFlag.Position position)
Add the given String literal as a join flag to the last added join |
|
Q |
from(Expression<?>... args)
|
|
Q |
from(SubQueryExpression<?> subQuery,
Path<?> alias)
|
|
|
fullJoin(ForeignKey<E> key,
RelationalPath<E> entity)
|
|
|
fullJoin(RelationalFunctionCall<E> target,
Path<E> alias)
|
|
Q |
fullJoin(RelationalPath<?> target)
|
|
Q |
fullJoin(SubQueryExpression<?> target,
Path<?> alias)
|
|
|
innerJoin(ForeignKey<E> key,
RelationalPath<E> entity)
|
|
|
innerJoin(RelationalFunctionCall<E> target,
Path<E> alias)
|
|
Q |
innerJoin(RelationalPath<?> target)
|
|
Q |
innerJoin(SubQueryExpression<?> target,
Path<?> alias)
|
|
|
join(ForeignKey<E> key,
RelationalPath<E> entity)
|
|
|
join(RelationalFunctionCall<E> target,
Path<E> alias)
|
|
Q |
join(RelationalPath<?> target)
|
|
Q |
join(SubQueryExpression<?> target,
Path<?> alias)
|
|
|
leftJoin(ForeignKey<E> key,
RelationalPath<E> entity)
|
|
|
leftJoin(RelationalFunctionCall<E> target,
Path<E> alias)
|
|
Q |
leftJoin(RelationalPath<?> target)
|
|
Q |
leftJoin(SubQueryExpression<?> target,
Path<?> alias)
|
|
Q |
on(Predicate... conditions)
|
|
|
rightJoin(ForeignKey<E> key,
RelationalPath<E> entity)
|
|
|
rightJoin(RelationalFunctionCall<E> target,
Path<E> alias)
|
|
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, list, notExists, 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 |
Field Detail |
---|
protected final SQLQueryMixin<Q extends AbstractSQLSubQuery<Q>> queryMixin
Constructor Detail |
---|
public AbstractSQLSubQuery()
public AbstractSQLSubQuery(QueryMetadata metadata)
Method Detail |
---|
public Q addFlag(QueryFlag.Position position, String prefix, Expression<?> expr)
position
- position of the flagprefix
- prefix for the flagexpr
- expression of the flag
public Q addFlag(QueryFlag.Position position, String flag)
position
- flag
-
public Q addFlag(QueryFlag.Position position, Expression<?> flag)
position
- flag
-
public Q addJoinFlag(String flag)
flag
-
public Q addJoinFlag(String flag, JoinFlag.Position position)
flag
- position
-
public Q from(Expression<?>... args)
public Q from(SubQueryExpression<?> subQuery, Path<?> alias)
public Q fullJoin(RelationalPath<?> target)
public <E> Q fullJoin(RelationalFunctionCall<E> target, Path<E> alias)
public <E> Q fullJoin(ForeignKey<E> key, RelationalPath<E> entity)
public Q fullJoin(SubQueryExpression<?> target, Path<?> alias)
public Q innerJoin(RelationalPath<?> target)
public <E> Q innerJoin(RelationalFunctionCall<E> target, Path<E> alias)
public <E> Q innerJoin(ForeignKey<E> key, RelationalPath<E> entity)
public Q innerJoin(SubQueryExpression<?> target, Path<?> alias)
public Q join(RelationalPath<?> target)
public <E> Q join(RelationalFunctionCall<E> target, Path<E> alias)
public <E> Q join(ForeignKey<E> key, RelationalPath<E> entity)
public Q join(SubQueryExpression<?> target, Path<?> alias)
public Q leftJoin(RelationalPath<?> target)
public <E> Q leftJoin(RelationalFunctionCall<E> target, Path<E> alias)
public <E> Q leftJoin(ForeignKey<E> key, RelationalPath<E> entity)
public Q leftJoin(SubQueryExpression<?> target, Path<?> alias)
public Q on(Predicate... conditions)
public Q rightJoin(RelationalPath<?> target)
public <E> Q rightJoin(RelationalFunctionCall<E> target, Path<E> alias)
public <E> Q rightJoin(ForeignKey<E> key, RelationalPath<E> entity)
public Q rightJoin(SubQueryExpression<?> target, Path<?> alias)
public String toString()
toString
in class QueryBase<Q extends AbstractSQLSubQuery<Q>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |