|
||||||||||
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> com.mysema.query.types.expr.ESimple<D>
D
- public abstract class ESimple<D>
ESimple is the base class for Expr implementations. It provides default implementations
for most of the abstract methods in Expr
Field Summary |
---|
Fields inherited from class com.mysema.query.types.Expr |
---|
primitive |
Constructor Summary | |
---|---|
ESimple(Class<? extends D> type)
|
Method Summary | |
---|---|
Expr<D> |
as(Path<D> alias)
Create an alias for the operation |
ENumber<Long> |
count()
Get the count(this) 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 |
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 |
CaseForEqBuilder<D> |
when(D other)
Get a case expression builder |
CaseForEqBuilder<D> |
when(Expr<? extends D> other)
Get a case expression builder |
Methods inherited from class com.mysema.query.types.Expr |
---|
accept, asExpr, equals, getType, hashCode, notIn, notIn, notIn, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ESimple(Class<? extends D> type)
Method Detail |
---|
public ENumber<Long> count()
Expr
count(this)
expression
count
in class Expr<D>
public ENumber<Long> countDistinct()
Expr
count(distinct this)
expression
countDistinct
in class Expr<D>
public EBoolean eq(D right)
Expr
this == right
expression
eq
in class Expr<D>
right
- rhs of the comparison
public EBoolean eq(Expr<? super D> right)
Expr
this == right
expression
eq
in class Expr<D>
right
- rhs of the comparison
public EBoolean in(Collection<? extends D> right)
Expr
this in right
expression
in
in class Expr<D>
right
- rhs of the comparison
public EBoolean in(D... right)
Expr
this in right
expression
in
in class Expr<D>
right
- rhs of the comparison
public EBoolean in(ECollection<?,? extends D> right)
Expr
this in right
expression
in
in class Expr<D>
right
- rhs of the comparison
public EBoolean ne(D right)
Expr
this <> right
expression
ne
in class Expr<D>
right
- rhs of the comparison
public EBoolean ne(Expr<? super D> right)
Expr
this <> right
expression
ne
in class Expr<D>
right
- rhs of the comparison
public CaseForEqBuilder<D> when(D other)
other
-
public CaseForEqBuilder<D> when(Expr<? extends D> other)
other
-
public Expr<D> as(Path<D> alias)
as
in class Expr<D>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |