com.mysema.query.support
Class QueryMixin<T>
java.lang.Object
com.mysema.query.support.QueryMixin<T>
- Type Parameters:
T
-
- Direct Known Subclasses:
- HQLQueryMixin
public class QueryMixin<T>
- extends Object
Mixin style Query implementation
- Author:
- tiwe
Method Summary |
T |
addFlag(QueryFlag queryFlag)
|
T |
addToProjection(Expr<?>... o)
|
protected
|
createAlias(Expr<D> path,
Path<D> alias)
|
protected
|
createAlias(Path<? extends Collection<D>> target,
Path<D> alias)
|
protected
|
createAlias(PMap<?,D,?> target,
Path<D> alias)
|
protected
|
createAlias(SubQueryExpression<D> path,
Path<D> alias)
|
T |
from(EntityPath<?>... args)
|
T |
from(Expr<?>... args)
|
|
fullJoin(EntityPath<P> target)
|
|
fullJoin(EntityPath<P> target,
EntityPath<P> alias)
|
|
fullJoin(Path<? extends Collection<P>> target)
|
|
fullJoin(Path<? extends Collection<P>> target,
Path<P> alias)
|
|
fullJoin(PMap<?,P,?> target)
|
|
fullJoin(PMap<?,P,?> target,
Path<P> alias)
|
|
fullJoin(SubQueryExpression<P> target,
Path alias)
|
QueryMetadata |
getMetadata()
|
T |
getSelf()
|
T |
groupBy(Expr<?>... o)
|
T |
having(EBoolean... o)
|
|
innerJoin(EntityPath<P> target)
|
|
innerJoin(EntityPath<P> target,
EntityPath<P> alias)
|
|
innerJoin(Path<? extends Collection<P>> target)
|
|
innerJoin(Path<? extends Collection<P>> target,
Path<P> alias)
|
|
innerJoin(PMap<?,P,?> target)
|
|
innerJoin(PMap<?,P,?> target,
Path<P> alias)
|
|
innerJoin(SubQueryExpression<P> target,
Path alias)
|
boolean |
isDistinct()
|
boolean |
isUnique()
|
|
join(EntityPath<P> target)
|
|
join(EntityPath<P> target,
EntityPath<P> alias)
|
|
join(Path<? extends Collection<P>> target)
|
|
join(Path<? extends Collection<P>> target,
Path<P> alias)
|
|
join(PMap<?,P,?> target)
|
|
join(PMap<?,P,?> target,
Path<P> alias)
|
|
join(SubQueryExpression<P> target,
Path alias)
|
|
leftJoin(EntityPath<P> target)
|
|
leftJoin(EntityPath<P> target,
EntityPath<P> alias)
|
|
leftJoin(Path<? extends Collection<P>> target)
|
|
leftJoin(Path<? extends Collection<P>> target,
Path<P> alias)
|
|
leftJoin(PMap<?,P,?> target)
|
|
leftJoin(PMap<?,P,?> target,
Path<P> alias)
|
|
leftJoin(SubQueryExpression<P> target,
Path alias)
|
T |
limit(long limit)
|
T |
offset(long offset)
|
T |
on(EBoolean... conditions)
|
T |
orderBy(OrderSpecifier<?>... o)
|
T |
restrict(QueryModifiers modifiers)
|
|
rightJoin(EntityPath<P> target)
|
|
rightJoin(EntityPath<P> target,
EntityPath<P> alias)
|
|
rightJoin(Path<? extends Collection<P>> target)
|
|
rightJoin(Path<? extends Collection<P>> target,
Path<P> alias)
|
|
rightJoin(PMap<?,P,?> target)
|
|
rightJoin(PMap<?,P,?> target,
Path<P> alias)
|
|
rightJoin(SubQueryExpression<P> target,
Path alias)
|
|
set(Param<P> param,
P value)
|
void |
setDistinct(boolean distinct)
|
void |
setSelf(T self)
|
void |
setUnique(boolean unique)
|
String |
toString()
|
T |
where(EBoolean... o)
|
QueryMixin
public QueryMixin()
QueryMixin
public QueryMixin(QueryMetadata metadata)
QueryMixin
public QueryMixin(T self)
QueryMixin
public QueryMixin(T self,
QueryMetadata metadata)
addFlag
public T addFlag(QueryFlag queryFlag)
addToProjection
public T addToProjection(Expr<?>... o)
createAlias
protected <D> Expr<D> createAlias(Expr<D> path,
Path<D> alias)
createAlias
protected <D> Expr<D> createAlias(Path<? extends Collection<D>> target,
Path<D> alias)
createAlias
protected <D> Expr<D> createAlias(PMap<?,D,?> target,
Path<D> alias)
createAlias
protected <D> Expr<D> createAlias(SubQueryExpression<D> path,
Path<D> alias)
from
public T from(Expr<?>... args)
from
public T from(EntityPath<?>... args)
fullJoin
public <P> T fullJoin(EntityPath<P> target)
fullJoin
public <P> T fullJoin(EntityPath<P> target,
EntityPath<P> alias)
fullJoin
public <P> T fullJoin(Path<? extends Collection<P>> target)
fullJoin
public <P> T fullJoin(Path<? extends Collection<P>> target,
Path<P> alias)
fullJoin
public <P> T fullJoin(PMap<?,P,?> target)
fullJoin
public <P> T fullJoin(PMap<?,P,?> target,
Path<P> alias)
fullJoin
public <P> T fullJoin(SubQueryExpression<P> target,
Path alias)
getMetadata
public QueryMetadata getMetadata()
getSelf
public T getSelf()
groupBy
public T groupBy(Expr<?>... o)
having
public T having(EBoolean... o)
innerJoin
public <P> T innerJoin(EntityPath<P> target)
innerJoin
public <P> T innerJoin(EntityPath<P> target,
EntityPath<P> alias)
innerJoin
public <P> T innerJoin(Path<? extends Collection<P>> target)
innerJoin
public <P> T innerJoin(Path<? extends Collection<P>> target,
Path<P> alias)
innerJoin
public <P> T innerJoin(PMap<?,P,?> target)
innerJoin
public <P> T innerJoin(PMap<?,P,?> target,
Path<P> alias)
innerJoin
public <P> T innerJoin(SubQueryExpression<P> target,
Path alias)
isDistinct
public boolean isDistinct()
isUnique
public boolean isUnique()
join
public <P> T join(EntityPath<P> target)
join
public <P> T join(EntityPath<P> target,
EntityPath<P> alias)
join
public <P> T join(Path<? extends Collection<P>> target)
join
public <P> T join(Path<? extends Collection<P>> target,
Path<P> alias)
join
public <P> T join(PMap<?,P,?> target)
join
public <P> T join(PMap<?,P,?> target,
Path<P> alias)
join
public <P> T join(SubQueryExpression<P> target,
Path alias)
leftJoin
public <P> T leftJoin(EntityPath<P> target)
leftJoin
public <P> T leftJoin(EntityPath<P> target,
EntityPath<P> alias)
leftJoin
public <P> T leftJoin(Path<? extends Collection<P>> target)
leftJoin
public <P> T leftJoin(Path<? extends Collection<P>> target,
Path<P> alias)
leftJoin
public <P> T leftJoin(PMap<?,P,?> target)
leftJoin
public <P> T leftJoin(PMap<?,P,?> target,
Path<P> alias)
leftJoin
public <P> T leftJoin(SubQueryExpression<P> target,
Path alias)
limit
public T limit(long limit)
offset
public T offset(long offset)
on
public T on(EBoolean... conditions)
orderBy
public T orderBy(OrderSpecifier<?>... o)
restrict
public T restrict(QueryModifiers modifiers)
rightJoin
public <P> T rightJoin(EntityPath<P> target)
rightJoin
public <P> T rightJoin(EntityPath<P> target,
EntityPath<P> alias)
rightJoin
public <P> T rightJoin(Path<? extends Collection<P>> target)
rightJoin
public <P> T rightJoin(Path<? extends Collection<P>> target,
Path<P> alias)
rightJoin
public <P> T rightJoin(PMap<?,P,?> target)
rightJoin
public <P> T rightJoin(PMap<?,P,?> target,
Path<P> alias)
rightJoin
public <P> T rightJoin(SubQueryExpression<P> target,
Path alias)
set
public <P> T set(Param<P> param,
P value)
setDistinct
public void setDistinct(boolean distinct)
setSelf
public void setSelf(T self)
setUnique
public void setUnique(boolean unique)
toString
public String toString()
- Overrides:
toString
in class Object
where
public T where(EBoolean... o)
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.