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
ADVANCED_QUERY, ADVANCED_QUERY_ENABLED, COLUMN_ALIAS, JAVA_TYPEFields inherited from interface wt.query.Expression
FROM_COUNTFields inherited from interface wt.query.RelationalExpression
BIND_PARAMETER -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnExpressionnewExpression(Object a_value, String a_javaType) Create a new Expression.Methods inherited from class wt.query.ConstantExpression
getClassAttributes, getColumnAlias, getFromCount, getJavaType, getValue, isAdvancedQuery, isAdvancedQueryEnabled, isEscapeNeeded, isEscapeNeeded, isStringBased, isStringBased, isStringBased, isUnescaped, isUnescapedMatcher, isUseBind, isUseEscape, newExpression, readVersion, setAdvancedQueryEnabled, setColumnAlias, setFromAlias, setUseBind, setUseEscape, toString, unescapedFirstIndex, validate
-
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
-