|
||||||||||
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> com.mysema.query.types.expr.EComparableBase<D> com.mysema.query.types.expr.ENumber<D> com.mysema.query.types.operation.ONumber<OpType,D>
OpType
- D
- public class ONumber<OpType extends Number,D extends Number & Comparable<?>>
ONumber represents numeric operations
Method Summary | ||
---|---|---|
void |
accept(Visitor v)
|
|
ENumber<D> |
asExpr()
|
|
static
|
create(Class<? extends D> type,
Operator<O> op,
Expr<?>... args)
Factory method |
|
Expr<?> |
getArg(int index)
Get the argument with the given index |
|
List<Expr<?>> |
getArgs()
Get the arguments of this operation |
|
Operator<OpType> |
getOperator()
Get the operator symbol for this operation |
Methods inherited from class com.mysema.query.types.expr.ENumber |
---|
abs, add, add, avg, between, between, byteValue, castToNum, ceil, divide, divide, doubleValue, floatValue, floor, goe, goe, gt, gt, intValue, loe, loe, longValue, lt, lt, max, max, min, min, multiply, multiply, negate, notBetween, notBetween, random, round, shortValue, sqrt, subtract, subtract, sum |
Methods inherited from class com.mysema.query.types.expr.EComparableBase |
---|
asc, desc, stringValue |
Methods inherited from class com.mysema.query.types.expr.Expr |
---|
count, countAll, countDistinct, eq, eq, getType, hashCode, in, in, in, ne, ne, notIn, notIn, notIn, toString, when, when |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.types.operation.Operation |
---|
getType |
Method Detail |
---|
public static <O extends Number,D extends Number & Comparable<?>> ENumber<D> create(Class<? extends D> type, Operator<O> op, Expr<?>... args)
O
- D
- type
- op
- args
-
public void accept(Visitor v)
accept
in class Expr<D extends Number & Comparable<?>>
public ENumber<D> asExpr()
asExpr
in interface Operation<OpType extends Number,D extends Number & Comparable<?>>
public Expr<?> getArg(int index)
Operation
getArg
in interface Operation<OpType extends Number,D extends Number & Comparable<?>>
public List<Expr<?>> getArgs()
Operation
getArgs
in interface Operation<OpType extends Number,D extends Number & Comparable<?>>
public Operator<OpType> getOperator()
Operation
getOperator
in interface Operation<OpType extends Number,D extends Number & Comparable<?>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |