ValueExpression
An expression representing a constant value.
Methods
static ValueExpression
get
(Value value)
Create a new expression with the given value.
static ValueExpression
get
(Value value)
Create a new expression with the given value.
Parameters:
value - the value
Returns:
the expression
static ValueExpression
getDefault
()
Get the DEFAULT expression.
static ValueExpression
getDefault
()
Get the DEFAULT expression.
Returns:
the DEFAULT expression
static ValueExpression
getNull
()
Get the NULL expression.
static ValueExpression
getNull
()
Get the NULL expression.
Returns:
the NULL expression
void
createIndexConditions
(Session session, TableFilter filter)
void
createIndexConditions
(Session session, TableFilter filter)
int
getCost
()
int
getCost
()
int
getDisplaySize
()
int
getDisplaySize
()
Expression[]
getExpressionColumns
(Session session)
Expression[]
getExpressionColumns
(Session session)
Expression
getNotIfPossible
(Session session)
Expression
getNotIfPossible
(Session session)
long
getPrecision
()
long
getPrecision
()
String
getSQL
()
String
getSQL
()
int
getScale
()
int
getScale
()
int
getType
()
int
getType
()
Value
getValue
(Session session)
Value
getValue
(Session session)
boolean
isConstant
()
boolean
isConstant
()
boolean
isEverything
(ExpressionVisitor visitor)
boolean
isEverything
(ExpressionVisitor visitor)
boolean
isValueSet
()
boolean
isValueSet
()
void
mapColumns
(ColumnResolver resolver, int level)
void
mapColumns
(ColumnResolver resolver, int level)
Expression
optimize
(Session session)
Expression
optimize
(Session session)
void
setEvaluatable
(TableFilter tableFilter, boolean b)
void
setEvaluatable
(TableFilter tableFilter, boolean b)
void
updateAggregate
(Session session)
void
updateAggregate
(Session session)