Package wt.query
Class DateExpression
java.lang.Object
wt.query.ConstantExpression
wt.query.DateExpression
- All Implemented Interfaces:
Externalizable,Serializable,ColumnExpression,wt.query.Expression,OrderByExpression,RelationalExpression
This class represents a date constant in a SQL statement. This subclass
of ConstantExpression is necessary to provide the special handling for
date values. The java date values are converted to a string representation
and used within a TO_DATE() SQL function when used in SQL statements.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from interface wt.query.ColumnExpression
COLUMN_ALIAS -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnExpressionnewExpression(Object a_value, String a_javaType) Create a new Expression.Methods inherited from class wt.query.ConstantExpression
getColumnAlias, getValue, isUseBind, isUseEscape, newExpression, setColumnAlias, setUseBind, setUseEscape
-
Method Details
-
newExpression
Create a new Expression.
Supported API: true- Parameters:
a_value- Specifies the data constant value.a_javaType- Specifies the Java type of the value.- Returns:
- ColumnExpression
-