T - expression type@Immutable public class OperationImpl<T> extends ExpressionBase<T> implements Operation<T>
OperationImpl is the default implementation of the Operation interface| Modifier | 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTypeprotected 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)
Operationpublic final List<Expression<?>> getArgs()
Operationpublic final Operator getOperator()
OperationgetOperator in interface Operation<T>public final <R,C> R accept(Visitor<R,C> v, C context)
Expressionaccept in interface Expression<T>R - return typeC - context typev - visitorcontext - context of visitCopyright © 2007–2016 Querydsl. All rights reserved.