public class DetachableAdapter extends Object implements Detachable
| Constructor and Description |
|---|
DetachableAdapter() |
DetachableAdapter(Detachable detachable) |
| 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
|
Detachable |
getDetachable() |
ListSubQuery<Tuple> |
list(Expression<?>... args)
Create a projection expression for the given projection
|
ListSubQuery<Tuple> |
list(Expression<?> first,
Expression<?> second,
Expression<?>... rest) |
<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
|
BooleanExpression |
notExists()
Create an not exists(this) expression
|
protected void |
setDetachable(Detachable detachable) |
<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
|
SimpleSubQuery<Tuple> |
unique(Expression<?> first,
Expression<?> second,
Expression<?>... rest) |
<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 DetachableAdapter()
public DetachableAdapter(Detachable detachable)
public NumberSubQuery<Long> count()
Detachablecount in interface Detachablepublic BooleanExpression exists()
Detachableexists in interface Detachablepublic Detachable getDetachable()
public ListSubQuery<Tuple> list(Expression<?> first, Expression<?> second, Expression<?>... rest)
public 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... args)
Detachablelist in interface Detachablepublic BooleanExpression notExists()
DetachablenotExists in interface Detachableprotected void setDetachable(Detachable detachable)
public <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<?> first, Expression<?> second, Expression<?>... rest)
public 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 Detachablepublic SimpleSubQuery<Tuple> unique(Object... args)
Detachableunique in interface DetachableCopyright © 2007–2014 Mysema Ltd. All rights reserved.