Package com.querydsl.core.types.dsl
Class ComparableOperation<T extends Comparable<?>>
java.lang.Object
com.querydsl.core.types.dsl.DslExpression<T>
com.querydsl.core.types.dsl.SimpleExpression<T>
com.querydsl.core.types.dsl.ComparableExpressionBase<T>
com.querydsl.core.types.dsl.ComparableExpression<T>
com.querydsl.core.types.dsl.ComparableOperation<T>
- Type Parameters:
T- expression type
- All Implemented Interfaces:
Expression<T>,Operation<T>,Serializable
public class ComparableOperation<T extends Comparable<?>>
extends ComparableExpression<T>
implements Operation<T>
ComparableOperation represents Comparable operations- Author:
- tiwe
- See Also:
-
Field Summary
Fields inherited from class com.querydsl.core.types.dsl.DslExpression
hashCode, mixin -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedComparableOperation(OperationImpl<T> mixin) protectedComparableOperation(Class<? extends T> type, Operator op, Expression<?>... args) protectedComparableOperation(Class<? extends T> type, Operator op, List<Expression<?>> args) -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,C> R Accept the visitor with the given contextExpression<?>getArg(int index) Get the argument with the given indexList<Expression<?>>getArgs()Get the arguments of this operationGet the operator symbol for this operationMethods inherited from class com.querydsl.core.types.dsl.ComparableExpression
as, as, between, between, coalesce, coalesce, coalesce, coalesce, goe, goe, goeAll, goeAll, goeAny, goeAny, gt, gt, gtAll, gtAll, gtAny, gtAny, loe, loe, loeAll, loeAll, loeAny, loeAny, lt, lt, ltAll, ltAll, ltAny, ltAny, max, min, notBetween, notBetween, nullif, nullifMethods inherited from class com.querydsl.core.types.dsl.ComparableExpressionBase
asc, descMethods inherited from class com.querydsl.core.types.dsl.SimpleExpression
count, countDistinct, eq, eq, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, notIn, notIn, when, whenMethods inherited from class com.querydsl.core.types.dsl.DslExpression
equals, 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
-
ComparableOperation
-
ComparableOperation
-
ComparableOperation
-
-
Method Details
-
accept
Description copied from interface:ExpressionAccept the visitor with the given context- Specified by:
acceptin interfaceExpression<T extends Comparable<?>>- Type Parameters:
R- return typeC- context type- Parameters:
v- visitorcontext- context of visit- Returns:
- result of visit
-
getArg
Description copied from interface:OperationGet the argument with the given index- Specified by:
getArgin interfaceOperation<T extends Comparable<?>>- Parameters:
index- zero based index of expression- Returns:
- expression at index
-
getArgs
Description copied from interface:OperationGet the arguments of this operation- Specified by:
getArgsin interfaceOperation<T extends Comparable<?>>- Returns:
- arguments
-
getOperator
Description copied from interface:OperationGet the operator symbol for this operation- Specified by:
getOperatorin interfaceOperation<T extends Comparable<?>>- Returns:
- operator
-