public class NamedExpression<V> extends FieldExpression<V>
Modifier and Type | Method and Description |
---|---|
Class<V> |
getClassType() |
ExpressionType |
getExpressionType() |
String |
getName() |
static <V> NamedExpression<V> |
of(String name,
Class<V> type) |
static NamedExpression<Integer> |
ofInteger(String name) |
static NamedExpression<String> |
ofString(String name) |
abs, as, asc, avg, between, desc, eq, eq, equal, equal, equals, function, getAlias, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, gt, gt, gte, gte, hashCode, in, in, isNull, lessThan, lessThan, lessThanOrEqual, lessThanOrEqual, like, lower, lt, lt, lte, lte, max, min, ne, ne, notEqual, notEqual, notIn, notIn, notLike, notNull, round, round, substr, sum, trim, trim, upper
public static <V> NamedExpression<V> of(String name, Class<V> type)
public static NamedExpression<Integer> ofInteger(String name)
public static NamedExpression<String> ofString(String name)
public String getName()
getName
in interface Expression<V>
getName
in class FieldExpression<V>
public Class<V> getClassType()
getClassType
in interface Expression<V>
getClassType
in class FieldExpression<V>
Class
that results when the expression is evaluatedpublic ExpressionType getExpressionType()
getExpressionType
in interface Expression<V>
getExpressionType
in class FieldExpression<V>