|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.types.ExpressionBase<T>
com.mysema.query.types.expr.SimpleExpression<T>
com.mysema.query.types.expr.ComparableExpressionBase<T>
com.mysema.query.types.expr.NumberExpression<T>
com.mysema.query.types.expr.NumberOperation<T>
T - expression typepublic class NumberOperation<T extends Number & Comparable<?>>
NumberOperation represents numeric operations
| Field Summary |
|---|
| Fields inherited from class com.mysema.query.types.expr.SimpleExpression |
|---|
primitive |
| Fields inherited from class com.mysema.query.types.ExpressionBase |
|---|
type |
| Method Summary | ||
|---|---|---|
|
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context |
|
static
|
create(Class<? extends D> type,
Operator<? super D> op,
Expression<?>... args)
Factory method |
|
boolean |
equals(Object o)
|
|
Expression<?> |
getArg(int index)
Get the argument with the given index |
|
List<Expression<?>> |
getArgs()
Get the arguments of this operation |
|
Operator<? super T> |
getOperator()
Get the operator symbol for this operation |
|
int |
hashCode()
|
|
NumberExpression<T> |
negate()
Get the negation of this expression |
|
| Methods inherited from class com.mysema.query.types.expr.NumberExpression |
|---|
abs, add, add, as, as, avg, between, between, byteValue, castToNum, ceil, divide, divide, doubleValue, floatValue, floor, goe, goe, gt, gt, in, intValue, loe, loe, longValue, lt, lt, max, max, min, min, mod, mod, multiply, multiply, notBetween, notBetween, notIn, random, round, shortValue, sqrt, subtract, subtract, sum |
| Methods inherited from class com.mysema.query.types.expr.ComparableExpressionBase |
|---|
asc, desc, stringValue |
| Methods inherited from class com.mysema.query.types.expr.SimpleExpression |
|---|
count, countDistinct, eq, eq, in, in, isNotNull, isNull, ne, ne, notIn, notIn, when, when |
| Methods inherited from class com.mysema.query.types.ExpressionBase |
|---|
getType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.mysema.query.types.Expression |
|---|
getType |
| Method Detail |
|---|
public static <D extends Number & Comparable<?>> NumberExpression<D> create(Class<? extends D> type,
Operator<? super D> op,
Expression<?>... args)
D - type - op - args -
public <R,C> R accept(Visitor<R,C> v,
C context)
Expression
accept in interface Expression<T extends Number & Comparable<?>>R - return typeC - context typev - visitorcontext - context of visit
public NumberExpression<T> negate()
NumberExpression
negate in class NumberExpression<T extends Number & Comparable<?>>public Expression<?> getArg(int index)
Operation
getArg in interface Operation<T extends Number & Comparable<?>>public List<Expression<?>> getArgs()
Operation
getArgs in interface Operation<T extends Number & Comparable<?>>public Operator<? super T> getOperator()
Operation
getOperator in interface Operation<T extends Number & Comparable<?>>public boolean equals(Object o)
equals in class SimpleExpression<T extends Number & Comparable<?>>public int hashCode()
hashCode in class SimpleExpression<T extends Number & Comparable<?>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||