|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.expr.Expr<D>
public abstract class Expr<D>
Expr represents a general typed expression in a Query instance. The generic type parameter is a reference to the type the expression instance is bound to.
Constructor Summary | |
---|---|
Expr(Class<? extends D> type)
|
Method Summary | |
---|---|
abstract void |
accept(Visitor v)
|
ENumber<Long> |
count()
Get the count(this) expression |
static ENumber<Long> |
countAll()
Get the count(*) expression |
ENumber<Long> |
countDistinct()
Get the count(distinct this) expression |
EBoolean |
eq(D right)
Get a this == right expression |
EBoolean |
eq(Expr<? super D> right)
Get a this == right expression |
Class<? extends D> |
getType()
Get the Java type for this expression |
int |
hashCode()
|
EBoolean |
in(Collection<? extends D> right)
Get a this in right expression |
EBoolean |
in(D... right)
Get a this in right expression |
EBoolean |
in(ECollection<?,? extends D> right)
Get a this in right expression |
EBoolean |
ne(D right)
Get a this <> right expression |
EBoolean |
ne(Expr<? super D> right)
Get a this <> right expression |
EBoolean |
notIn(Collection<? extends D> right)
Get a this not in right expression |
EBoolean |
notIn(D... right)
Get a this not in right expression |
EBoolean |
notIn(ECollection<?,? extends D> right)
Get a this not in right expression |
String |
toString()
|
CaseForEqBuilder<D> |
when(D other)
|
CaseForEqBuilder<D> |
when(Expr<? extends D> other)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Expr(Class<? extends D> type)
Method Detail |
---|
public static ENumber<Long> countAll()
count(*)
expression
public abstract void accept(Visitor v)
public ENumber<Long> count()
count(this)
expression
public ENumber<Long> countDistinct()
count(distinct this)
expression
public EBoolean eq(D right)
this == right
expression
right
- rhs of the comparison
public final EBoolean eq(Expr<? super D> right)
this == right
expression
right
- rhs of the comparison
public Class<? extends D> getType()
public int hashCode()
hashCode
in class Object
public final EBoolean in(Collection<? extends D> right)
this in right
expression
right
- rhs of the comparison
public final EBoolean in(D... right)
this in right
expression
right
- rhs of the comparison
public final EBoolean in(ECollection<?,? extends D> right)
this in right
expression
right
- rhs of the comparison
public EBoolean ne(D right)
this <> right
expression
right
- rhs of the comparison
public final EBoolean ne(Expr<? super D> right)
this <> right
expression
right
- rhs of the comparison
public final EBoolean notIn(Collection<? extends D> right)
this not in right
expression
right
- rhs of the comparison
public final EBoolean notIn(D... right)
this not in right
expression
right
- rhs of the comparison
public final EBoolean notIn(ECollection<?,? extends D> right)
this not in right
expression
right
- rhs of the comparison
public final String toString()
toString
in class Object
public CaseForEqBuilder<D> when(D other)
other
-
public CaseForEqBuilder<D> when(Expr<? extends D> other)
other
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |