org.datanucleus.store.rdbms.sql.expression
Class StringNumericExpression
java.lang.Object
org.datanucleus.store.rdbms.sql.expression.SQLExpression
org.datanucleus.store.rdbms.sql.expression.DelegatedExpression
org.datanucleus.store.rdbms.sql.expression.StringNumericExpression
public class StringNumericExpression
- extends DelegatedExpression
Expression representing a field/property that can be stored as a String or as a Numeric.
For example a java.lang.Enum can be represented using this.
Delegates any operation to the same operation on the delegate.
|
Constructor Summary |
StringNumericExpression(SQLStatement stmt,
SQLTable table,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
Constructor for an expression for a field/property that can be represented as String or numeric. |
| Methods inherited from class org.datanucleus.store.rdbms.sql.expression.DelegatedExpression |
add, div, eq, ge, getDelegate, gt, invoke, le, lt, mod, mul, ne, sub, toSQLText |
| Methods inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression |
and, cast, com, distinct, encloseInParentheses, eor, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, in, ior, is, isParameter, neg, not, setJavaTypeMapping |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringNumericExpression
public StringNumericExpression(SQLStatement stmt,
SQLTable table,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
- Constructor for an expression for a field/property that can be represented as String or numeric.
- Parameters:
stmt - The SQL statementtable - Tablemapping - Mapping
Copyright © 2012. All Rights Reserved.