Q
- concrete subtypepublic class DetachableQuery<Q extends DetachableQuery<Q>> extends QueryBase<Q> implements Detachable
queryMixin
Constructor and Description |
---|
DetachableQuery(QueryMixin<Q> queryMixin) |
Modifier and Type | Method and Description |
---|---|
NumberSubQuery<java.lang.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(java.lang.Object... args)
Create a projection expression for the given projection
Non expression arguments are converted into constant expressions
|
ListSubQuery<Tuple> |
list(java.lang.Object arg) |
BooleanExpression |
notExists()
Create an not exists(this) expression
|
<RT extends java.lang.Comparable<?>> |
unique(ComparableExpression<RT> projection)
Create a subquery expression for the given projection
|
<RT extends java.lang.Comparable<?>> |
unique(DateExpression<RT> projection)
Create a subquery expression for the given projection
|
<RT extends java.lang.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 java.lang.Number & java.lang.Comparable<?>> |
unique(NumberExpression<RT> projection)
Create a subquery expression for the given projection
|
SimpleSubQuery<Tuple> |
unique(java.lang.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 java.lang.Comparable<?>> |
unique(TimeExpression<RT> projection)
Create a subquery expression for the given projection
|
public DetachableQuery(QueryMixin<Q> queryMixin)
public NumberSubQuery<java.lang.Long> count()
Detachable
count
in interface Detachable
public BooleanExpression exists()
Detachable
exists
in interface Detachable
public ListSubQuery<Tuple> list(Expression<?>... args)
Detachable
list
in interface Detachable
public <RT> ListSubQuery<RT> list(Expression<RT> projection)
Detachable
list
in interface Detachable
RT
- generic type of the Listpublic ListSubQuery<Tuple> list(java.lang.Object arg)
public ListSubQuery<Tuple> list(java.lang.Object... args)
Detachable
list
in interface Detachable
public BooleanExpression notExists()
Detachable
notExists
in interface Detachable
public <RT extends java.lang.Comparable<?>> ComparableSubQuery<RT> unique(ComparableExpression<RT> projection)
Detachable
unique
in interface Detachable
public <RT extends java.lang.Comparable<?>> DateSubQuery<RT> unique(DateExpression<RT> projection)
Detachable
unique
in interface Detachable
public <RT extends java.lang.Comparable<?>> DateTimeSubQuery<RT> unique(DateTimeExpression<RT> projection)
Detachable
unique
in interface Detachable
public SimpleSubQuery<Tuple> unique(Expression<?>... args)
Detachable
unique
in interface Detachable
public <RT> SimpleSubQuery<RT> unique(Expression<RT> projection)
Detachable
unique
in interface Detachable
RT
- return typepublic <RT extends java.lang.Number & java.lang.Comparable<?>> NumberSubQuery<RT> unique(NumberExpression<RT> projection)
Detachable
unique
in interface Detachable
public BooleanSubQuery unique(Predicate projection)
Detachable
unique
in interface Detachable
public StringSubQuery unique(StringExpression projection)
Detachable
unique
in interface Detachable
public <RT extends java.lang.Comparable<?>> TimeSubQuery<RT> unique(TimeExpression<RT> projection)
Detachable
unique
in interface Detachable
public SimpleSubQuery<Tuple> unique(java.lang.Object... args)
Detachable
unique
in interface Detachable
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.