|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.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 is bound to.
Field Summary | |
---|---|
protected boolean |
primitive
|
Constructor Summary | |
---|---|
Expr(Class<? extends D> type)
|
Method Summary | |
---|---|
abstract void |
accept(Visitor v)
|
abstract Expr<D> |
as(Path<D> alias)
|
abstract ENumber<Long> |
count()
Get the count(this) expression |
abstract ENumber<Long> |
countDistinct()
Get the count(distinct this) expression |
abstract EBoolean |
eq(D right)
Get a this == right expression |
abstract EBoolean |
eq(Expr<? super D> right)
Get a this == right expression |
abstract boolean |
equals(Object o)
|
Class<? extends D> |
getType()
Get the Java type for this expression |
int |
hashCode()
|
abstract EBoolean |
in(Collection<? extends D> right)
Get a this in right expression |
abstract EBoolean |
in(D... right)
Get a this in right expression |
abstract EBoolean |
in(ECollection<?,? extends D> right)
Get a this in right expression |
abstract EBoolean |
ne(D right)
Get a this <> right expression |
abstract 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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final boolean primitive
Constructor Detail |
---|
public Expr(Class<? extends D> type)
Method Detail |
---|
public abstract void accept(Visitor v)
public abstract Expr<D> as(Path<D> alias)
public abstract ENumber<Long> count()
count(this)
expression
public abstract ENumber<Long> countDistinct()
count(distinct this)
expression
public abstract EBoolean eq(D right)
this == right
expression
right
- rhs of the comparison
public abstract EBoolean eq(Expr<? super D> right)
this == right
expression
right
- rhs of the comparison
public final Class<? extends D> getType()
public int hashCode()
hashCode
in class Object
public abstract boolean equals(Object o)
equals
in class Object
public abstract EBoolean in(Collection<? extends D> right)
this in right
expression
right
- rhs of the comparison
public abstract EBoolean in(D... right)
this in right
expression
right
- rhs of the comparison
public abstract EBoolean in(ECollection<?,? extends D> right)
this in right
expression
right
- rhs of the comparison
public abstract EBoolean ne(D right)
this <> right
expression
right
- rhs of the comparison
public abstract 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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |