public class DetachableMixin extends Object implements Detachable
| Constructor and Description |
|---|
DetachableMixin(QueryMixin<?> queryMixin) |
| Modifier and Type | Method and Description |
|---|---|
NumberSubQuery<Long> |
count()
Return the count of matched rows as a sub query
|
BooleanExpression |
exists()
Create an exists(this) expression
|
ListSubQuery<Tuple> |
list(Expression<?>... args)
Create a projection expression for the given projection
|
<RT> ListSubQuery<RT> |
list(Expression<RT> projection)
Create a projection expression for the given projection
|
ListSubQuery<Tuple> |
list(Object... args)
Create a projection expression for the given projection
Non expression arguments are converted into constant expressions
|
ListSubQuery<Tuple> |
list(Object arg) |
BooleanExpression |
notExists()
Create an not exists(this) expression
|
<RT extends Comparable<?>> |
unique(ComparableExpression<RT> projection)
Create a subquery expression for the given projection
|
<RT extends Comparable<?>> |
unique(DateExpression<RT> projection)
Create a subquery expression for the given projection
|
<RT extends Comparable<?>> |
unique(DateTimeExpression<RT> projection)
Create a subquery expression for the given projection
|
SimpleSubQuery<Tuple> |
unique(Expression<?>... args)
Create a projection expression for the given projection
|
<RT> SimpleSubQuery<RT> |
unique(Expression<RT> projection)
Create a subquery expression for the given projection
|
<RT extends Number & Comparable<?>> |
unique(NumberExpression<RT> projection)
Create a subquery expression for the given projection
|
SimpleSubQuery<Tuple> |
unique(Object... args)
Create a projection expression for the given projection
Non expression arguments are converted into constant expressions
|
BooleanSubQuery |
unique(Predicate projection)
Create a subquery expression for the given projection
|
StringSubQuery |
unique(StringExpression projection)
Create a subquery expression for the given projection
|
<RT extends Comparable<?>> |
unique(TimeExpression<RT> projection)
Create a subquery expression for the given projection
|
public DetachableMixin(QueryMixin<?> queryMixin)
public NumberSubQuery<Long> count()
Detachablecount in interface Detachablepublic BooleanExpression exists()
Detachableexists in interface Detachablepublic ListSubQuery<Tuple> list(Expression<?>... args)
Detachablelist in interface Detachablepublic <RT> ListSubQuery<RT> list(Expression<RT> projection)
Detachablelist in interface DetachableRT - generic type of the Listpublic ListSubQuery<Tuple> list(Object arg)
public ListSubQuery<Tuple> list(Object... args)
Detachablelist in interface Detachablepublic SimpleSubQuery<Tuple> unique(Object... args)
Detachableunique in interface Detachablepublic BooleanExpression notExists()
DetachablenotExists in interface Detachablepublic <RT extends Comparable<?>> ComparableSubQuery<RT> unique(ComparableExpression<RT> projection)
Detachableunique in interface Detachablepublic <RT extends Comparable<?>> DateSubQuery<RT> unique(DateExpression<RT> projection)
Detachableunique in interface Detachablepublic <RT extends Comparable<?>> DateTimeSubQuery<RT> unique(DateTimeExpression<RT> projection)
Detachableunique in interface Detachablepublic SimpleSubQuery<Tuple> unique(Expression<?>... args)
Detachableunique in interface Detachablepublic <RT> SimpleSubQuery<RT> unique(Expression<RT> projection)
Detachableunique in interface DetachableRT - return typepublic <RT extends Number & Comparable<?>> NumberSubQuery<RT> unique(NumberExpression<RT> projection)
Detachableunique in interface Detachablepublic BooleanSubQuery unique(Predicate projection)
Detachableunique in interface Detachablepublic StringSubQuery unique(StringExpression projection)
Detachableunique in interface Detachablepublic <RT extends Comparable<?>> TimeSubQuery<RT> unique(TimeExpression<RT> projection)
Detachableunique in interface DetachableCopyright © 2007–2014 Mysema Ltd. All rights reserved.