public class TypedValueExpression extends ValueExpression
MAP_IN_AGGREGATE, MAP_IN_WINDOW, MAP_INITIAL| Modifier and Type | Method and Description |
|---|---|
static TypedValueExpression |
get(Value value,
TypeInfo type)
Create a new expression with the given value and type.
|
java.lang.StringBuilder |
getSQL(java.lang.StringBuilder builder,
boolean alwaysQuote)
Appends the SQL statement of this expression to the specified builder.
|
TypeInfo |
getType()
Returns the data type.
|
static TypedValueExpression |
getUnknown()
Get the UNKNOWN expression.
|
boolean |
isNullConstant()
Check if this expression will always return the NULL value.
|
createIndexConditions, get, getBoolean, getBoolean, getCost, getDefault, getExpressionColumns, getNotIfPossible, getNull, getValue, isConstant, isEverything, isValueSet, mapColumns, optimize, setEvaluatable, updateAggregateaddFilterConditions, getAlias, getBooleanValue, getColumnName, getExpressionColumns, getExpressionColumns, getNonAliasExpression, getNullable, getSchemaName, getSQL, getSubexpression, getSubexpressionCount, getTableAlias, getTableName, getUnenclosedSQL, isAutoIncrement, toString, writeExpressions, writeExpressionspublic static TypedValueExpression get(Value value, TypeInfo type)
value - the valuetype - the value typepublic static TypedValueExpression getUnknown()
public TypeInfo getType()
ExpressiongetType in class ValueExpressionpublic java.lang.StringBuilder getSQL(java.lang.StringBuilder builder,
boolean alwaysQuote)
ExpressiongetSQL in class ValueExpressionbuilder - string builderalwaysQuote - quote all identifierspublic boolean isNullConstant()
ExpressionisNullConstant in class ValueExpression