T
- expression type@Immutable public class OperationImpl<T> extends ExpressionBase<T> implements Operation<T>
OperationImpl
is the default implementation of the Operation
interfaceModifier | Constructor and Description |
---|---|
protected |
OperationImpl(Class<? extends T> type,
Operator operator,
Expression<?>... args) |
protected |
OperationImpl(Class<? extends T> type,
Operator operator,
com.google.common.collect.ImmutableList<Expression<?>> args) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context
|
boolean |
equals(Object o) |
Expression<?> |
getArg(int i)
Get the argument with the given index
|
List<Expression<?>> |
getArgs()
Get the arguments of this operation
|
Operator |
getOperator()
Get the operator symbol for this operation
|
getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getType
protected OperationImpl(Class<? extends T> type, Operator operator, Expression<?>... args)
protected OperationImpl(Class<? extends T> type, Operator operator, com.google.common.collect.ImmutableList<Expression<?>> args)
public final Expression<?> getArg(int i)
Operation
public final List<Expression<?>> getArgs()
Operation
public final Operator getOperator()
Operation
getOperator
in interface Operation<T>
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 visitCopyright © 2007–2016 Querydsl. All rights reserved.