Package com.querydsl.core.types.dsl
Class LiteralExpression<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.LiteralExpression<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Expression<T>,Serializable
- Direct Known Subclasses:
BooleanExpression,EnumExpression,StringExpression,TemporalExpression
LiteralExpression represents literal expressions- See Also:
-
Field Summary
Fields inherited from class com.querydsl.core.types.dsl.DslExpression
hashCode, mixin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<A extends Number & Comparable<? super A>>
NumberExpression<A>Create a cast expression to the given numeric typeCreate a cast to String expressionMethods 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
accept
-
Constructor Details
-
LiteralExpression
-
-
Method Details
-
castToNum
Create a cast expression to the given numeric type- Type Parameters:
A- numeric type- Parameters:
type- numeric type- Returns:
- cast expression
-
stringValue
Create a cast to String expression- Returns:
- cast expression
- See Also:
-