|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.expr.DslExpression<T> com.mysema.query.types.expr.DslOperation<T>
T
- expression typepublic class DslOperation<T>
DslOperation represents a simple operation expression
Field Summary |
---|
Fields inherited from class com.mysema.query.types.expr.DslExpression |
---|
mixin |
Constructor Summary | |
---|---|
protected |
DslOperation(Class<T> type,
Operator<? super T> op,
Expression<?>... args)
|
protected |
DslOperation(Class<T> type,
Operator<? super T> op,
List<Expression<?>> args)
|
Method Summary | ||
---|---|---|
|
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context |
|
static
|
create(Class<D> type,
Operator<? super D> op,
Expression<?>... args)
Factory method |
|
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 |
Methods inherited from class com.mysema.query.types.expr.DslExpression |
---|
as, as, equals, getType, hashCode, 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 |
Constructor Detail |
---|
protected DslOperation(Class<T> type, Operator<? super T> op, Expression<?>... args)
protected DslOperation(Class<T> type, Operator<? super T> op, List<Expression<?>> args)
Method Detail |
---|
public static <D> DslExpression<D> create(Class<D> type, Operator<? super D> op, Expression<?>... args)
D
- type
- op
- args
-
public final <R,C> R accept(Visitor<R,C> v, C context)
Expression
accept
in interface Expression<T>
R
- return typeC
- context typev
- visitorcontext
- context of visit
public Expression<?> getArg(int index)
Operation
getArg
in interface Operation<T>
public List<Expression<?>> getArgs()
Operation
getArgs
in interface Operation<T>
public Operator<? super T> getOperator()
Operation
getOperator
in interface Operation<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |