Package com.querydsl.core.types
Class OperationImpl<T>
java.lang.Object
com.querydsl.core.types.ExpressionBase<T>
com.querydsl.core.types.OperationImpl<T>
- Type Parameters:
T- expression type
- All Implemented Interfaces:
Expression<T>,Operation<T>,Serializable
- Direct Known Subclasses:
PredicateOperation
OperationImpl is the default implementation of the Operation interface- Author:
- tiwe
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOperationImpl(Class<? extends T> type, Operator operator, Expression<?>... args) protectedOperationImpl(Class<? extends T> type, Operator operator, List<Expression<?>> args) -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,C> R Accept the visitor with the given contextfinal booleanfinal Expression<?>getArg(int i) Get the argument with the given indexfinal @Unmodifiable List<Expression<?>>getArgs()Get the arguments of this operationfinal OperatorGet the operator symbol for this operationMethods inherited from class com.querydsl.core.types.ExpressionBase
getType, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.querydsl.core.types.Expression
getType
-
Constructor Details
-
OperationImpl
-
OperationImpl
-
-
Method Details
-
getArg
Description copied from interface:OperationGet the argument with the given index -
getArgs
Description copied from interface:OperationGet the arguments of this operation -
getOperator
Description copied from interface:OperationGet the operator symbol for this operation- Specified by:
getOperatorin interfaceOperation<T>- Returns:
- operator
-
equals
-
accept
Description copied from interface:ExpressionAccept the visitor with the given context- Specified by:
acceptin interfaceExpression<T>- Type Parameters:
R- return typeC- context type- Parameters:
v- visitorcontext- context of visit- Returns:
- result of visit
-