public static <T extends Comparable<?>> ComparableExpression<T> asComparable(T value) {
        return asComparable(constant(value));
    }
Create a new ComparableExpression

@param value Comparable
@return new ComparableExpression
querydsl-core/src/main/java/com/querydsl/core/types/dsl/Expressions.java