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,
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)
Defines the sources of the query
|
Q |
from(Expression<?> arg) |
Q |
from(SubQueryExpression<?> subQuery,
Path<?> alias)
Adds a sub query source
|
Q |
fullJoin(EntityPath<?> target)
Adds a full join to the given target
|
<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(SubQueryExpression<?> target,
Path<?> alias)
Adds a full join to the given target
|
Q |
innerJoin(EntityPath<?> target)
Adds an inner 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(SubQueryExpression<?> target,
Path<?> alias)
Adds an inner join to the given target
|
Q |
join(EntityPath<?> target)
Adds a 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(SubQueryExpression<?> target,
Path<?> alias)
Adds a join to the given target
|
Q |
leftJoin(EntityPath<?> target)
Adds a left 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(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) |
Q |
rightJoin(EntityPath<?> target)
Adds a right join to the given target
|
<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(SubQueryExpression<?> target,
Path<?> alias)
Adds a right join to the given target
|
String |
toString() |
Q |
with(Path<?> alias,
Expression<?> query)
Adds a common table expression
|
WithBuilder<Q> |
with(Path<?> alias,
Path<?>... columns)
Adds a common table expression
|
Q |
with(Path<?> alias,
SubQueryExpression<?> target)
Adds a common table expression
|
Q |
withRecursive(Path<?> alias,
Expression<?> query)
Adds a common table expression
|
WithBuilder<Q> |
withRecursive(Path<?> alias,
Path<?>... columns)
Adds a common table expression
|
Q |
withRecursive(Path<?> alias,
SubQueryExpression<?> query)
Adds a common table expression
|
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, 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, 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(String flag)
addJoinFlag in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>flag - public Q addJoinFlag(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(EntityPath<?> 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(EntityPath<?> 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(EntityPath<?> 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(EntityPath<?> 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(EntityPath<?> 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 Q withRecursive(Path<?> alias, SubQueryExpression<?> query)
SQLCommonQuerywithRecursive in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q withRecursive(Path<?> alias, Expression<?> query)
SQLCommonQuerywithRecursive in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public WithBuilder<Q> withRecursive(Path<?> alias, Path<?>... columns)
SQLCommonQuerywithRecursive in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q with(Path<?> alias, SubQueryExpression<?> target)
SQLCommonQuerywith in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public Q with(Path<?> alias, Expression<?> query)
SQLCommonQuerywith in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>public WithBuilder<Q> with(Path<?> alias, Path<?>... columns)
SQLCommonQuerywith in interface SQLCommonQuery<Q extends AbstractSQLSubQuery<Q>>Copyright © 2007–2014 Mysema Ltd. All rights reserved.