public class AbstractSQLSubQuery<Q extends AbstractSQLSubQuery<Q>> extends DetachableQuery<Q> implements SQLCommonQuery<Q>
| Modifier and Type | Field and Description |
|---|---|
protected QueryMixin<Q> |
queryMixin |
| Constructor and Description |
|---|
AbstractSQLSubQuery() |
AbstractSQLSubQuery(QueryMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
Q |
addFlag(QueryFlag.Position position,
Expression<?> flag)
Add the given Expression as a query flag
|
Q |
addFlag(QueryFlag.Position position,
java.lang.String flag)
Add the given String literal as a query flag
|
Q |
addFlag(QueryFlag.Position position,
java.lang.String prefix,
Expression<?> expr)
Add the given prefix and expression as a general query flag
|
Q |
addJoinFlag(java.lang.String flag)
Add the given String literal as a join flag to the last added join with the
position BEFORE_TARGET
|
Q |
addJoinFlag(java.lang.String flag,
JoinFlag.Position position)
Add the given String literal as a join flag to the last added join
|
Q |
from(Expression<?>... args)
Defines the sources of the query
|
Q |
from(Expression<?> arg) |
Q |
from(SubQueryExpression<?> subQuery,
Path<?> alias)
Adds a sub query source
|
<E> Q |
fullJoin(ForeignKey<E> key,
RelationalPath<E> entity)
Adds a full join to the given target
|
<E> Q |
fullJoin(RelationalFunctionCall<E> target,
Path<E> alias)
Adds a full join to the given target
|
Q |
fullJoin(RelationalPath<?> target)
Adds a full join to the given target
|
Q |
fullJoin(SubQueryExpression<?> target,
Path<?> alias)
Adds a full join to the given target
|
<E> Q |
innerJoin(ForeignKey<E> key,
RelationalPath<E> entity)
Adds an inner join to the given target
|
<E> Q |
innerJoin(RelationalFunctionCall<E> target,
Path<E> alias)
Adds a full join to the given target
|
Q |
innerJoin(RelationalPath<?> target)
Adds an inner join to the given target
|
Q |
innerJoin(SubQueryExpression<?> target,
Path<?> alias)
Adds an inner join to the given target
|
<E> Q |
join(ForeignKey<E> key,
RelationalPath<E> entity)
Adds a join to the given target
|
<E> Q |
join(RelationalFunctionCall<E> target,
Path<E> alias)
Adds a full join to the given target
|
Q |
join(RelationalPath<?> target)
Adds a join to the given target
|
Q |
join(SubQueryExpression<?> target,
Path<?> alias)
Adds a join to the given target
|
<E> Q |
leftJoin(ForeignKey<E> key,
RelationalPath<E> entity)
Adds a left join to the given target
|
<E> Q |
leftJoin(RelationalFunctionCall<E> target,
Path<E> alias)
Adds a full join to the given target
|
Q |
leftJoin(RelationalPath<?> target)
Adds a left join to the given target
|
Q |
leftJoin(SubQueryExpression<?> target,
Path<?> alias)
Adds a left join to the given target
|
Q |
on(Predicate... conditions)
Defines a filter to the last added join
|
Q |
on(Predicate condition) |
<E> Q |
rightJoin(ForeignKey<E> key,
RelationalPath<E> entity)
Adds a right join to the given target
|
<E> Q |
rightJoin(RelationalFunctionCall<E> target,
Path<E> alias)
Adds a full join to the given target
|
Q |
rightJoin(RelationalPath<?> target)
Adds a right join to the given target
|
Q |
rightJoin(SubQueryExpression<?> target,
Path<?> alias)
Adds a right join to the given target
|
java.lang.String |
toString() |
count, exists, list, list, list, list, notExists, unique, unique, unique, unique, unique, unique, unique, unique, unique, uniquedistinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, whereclone, finalize, getClass, notify, notifyAll, wait, wait, waitdistinct, limit, offset, orderBy, restrict, setwhereprotected final QueryMixin<Q extends AbstractSQLSubQuery<Q>> queryMixin
public AbstractSQLSubQuery()
public AbstractSQLSubQuery(QueryMetadata metadata)
public Q addFlag(QueryFlag.Position position, java.lang.String prefix, Expression<?> expr)
addFlag in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>position - position of the flagprefix - prefix for the flagexpr - expression of the flagpublic Q addFlag(QueryFlag.Position position, java.lang.String flag)
addFlag in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>position - flag - public Q addFlag(QueryFlag.Position position, Expression<?> flag)
addFlag in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>position - flag - public Q addJoinFlag(java.lang.String flag)
addJoinFlag in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>flag - public Q addJoinFlag(java.lang.String flag, JoinFlag.Position position)
addJoinFlag in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>flag - position - public Q from(Expression<?> arg)
public Q from(Expression<?>... args)
SQLCommonQueryfrom in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q from(SubQueryExpression<?> subQuery, Path<?> alias)
SQLCommonQueryfrom in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q fullJoin(RelationalPath<?> target)
SQLCommonQueryfullJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public <E> Q fullJoin(RelationalFunctionCall<E> target, Path<E> alias)
SQLCommonQueryfullJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public <E> Q fullJoin(ForeignKey<E> key, RelationalPath<E> entity)
SQLCommonQueryfullJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q fullJoin(SubQueryExpression<?> target, Path<?> alias)
SQLCommonQueryfullJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q innerJoin(RelationalPath<?> target)
SQLCommonQueryinnerJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public <E> Q innerJoin(RelationalFunctionCall<E> target, Path<E> alias)
SQLCommonQueryinnerJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public <E> Q innerJoin(ForeignKey<E> key, RelationalPath<E> entity)
SQLCommonQueryinnerJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q innerJoin(SubQueryExpression<?> target, Path<?> alias)
SQLCommonQueryinnerJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q join(RelationalPath<?> target)
SQLCommonQueryjoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public <E> Q join(RelationalFunctionCall<E> target, Path<E> alias)
SQLCommonQueryjoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public <E> Q join(ForeignKey<E> key, RelationalPath<E> entity)
SQLCommonQueryjoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q join(SubQueryExpression<?> target, Path<?> alias)
SQLCommonQueryjoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q leftJoin(RelationalPath<?> target)
SQLCommonQueryleftJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public <E> Q leftJoin(RelationalFunctionCall<E> target, Path<E> alias)
SQLCommonQueryleftJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public <E> Q leftJoin(ForeignKey<E> key, RelationalPath<E> entity)
SQLCommonQueryleftJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q leftJoin(SubQueryExpression<?> target, Path<?> alias)
SQLCommonQueryleftJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q on(Predicate... conditions)
SQLCommonQueryon in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q rightJoin(RelationalPath<?> target)
SQLCommonQueryrightJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public <E> Q rightJoin(RelationalFunctionCall<E> target, Path<E> alias)
SQLCommonQueryrightJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public <E> Q rightJoin(ForeignKey<E> key, RelationalPath<E> entity)
SQLCommonQueryrightJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q rightJoin(SubQueryExpression<?> target, Path<?> alias)
SQLCommonQueryrightJoin in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public java.lang.String toString()
toString in class QueryBase<Q extends AbstractSQLSubQuery<Q>>Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.