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
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class SQLExpression
SQLExpression.ColumnExpressionList -
Field Summary
Fields inherited from class DelegatedExpression
delegateFields inherited from class SQLExpression
lowestOperator, mapping, parameterName, st, stmt, subExprs, table -
Constructor Summary
ConstructorsConstructorDescriptionStringNumericExpression(SQLStatement stmt, SQLTable table, JavaTypeMapping mapping) Constructor for an expression for a field/property that can be represented as String or numeric. -
Method Summary
Methods inherited from class DelegatedExpression
add, div, eq, ge, getDelegate, gt, invoke, isParameter, le, lt, mod, mul, ne, sub, toSQLTextMethods inherited from class SQLExpression
and, bitAnd, bitOr, cast, com, distinct, encloseInParentheses, eor, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, in, ior, is, neg, not, setJavaTypeMapping, unDistinct
-
Constructor Details
-
StringNumericExpression
Constructor for an expression for a field/property that can be represented as String or numeric.- Parameters:
stmt- The SQL statementtable- Tablemapping- Mapping
-