org.datanucleus.store.rdbms.sql.expression
Class ArrayExpression
java.lang.Object
org.datanucleus.store.rdbms.sql.expression.SQLExpression
org.datanucleus.store.rdbms.sql.expression.ArrayExpression
- Direct Known Subclasses:
- ArrayLiteral
public class ArrayExpression
- extends SQLExpression
Representation of array expression.
|
Constructor Summary |
protected |
ArrayExpression(SQLStatement stmt,
SQLTable table,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
Constructor for an SQL expression for a (field) mapping in a specified table. |
| Methods inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression |
add, and, cast, checkForAndCorrectParameterComparison, com, div, encloseInParentheses, eor, ge, getJavaTypeMapping, getNumberOfSubExpressions, getSQLStatement, getSQLTable, gt, in, ior, is, isParameter, le, lt, mod, mul, neg, not, sub, toSQLText |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayExpression
protected ArrayExpression(SQLStatement stmt,
SQLTable table,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
- Constructor for an SQL expression for a (field) mapping in a specified table.
- Parameters:
stmt - The statementtable - The table in the statementmapping - The mapping for the field
invoke
public SQLExpression invoke(java.lang.String methodName,
java.util.List args)
- Description copied from class:
SQLExpression
- Invocation of a method on this expression.
- Overrides:
invoke in class SQLExpression
- Parameters:
methodName - name of the method to invokeargs - Args to this method (if any)
- Returns:
- the converted value
eq
public BooleanExpression eq(SQLExpression expr)
- Description copied from class:
SQLExpression
- Equality operator (equals to)
- Overrides:
eq in class SQLExpression
- Parameters:
expr - the right-hand operand
- Returns:
- The type of an equality expression is a boolean
ne
public BooleanExpression ne(SQLExpression expr)
- Description copied from class:
SQLExpression
- Not equality operator (not equals to)
- Overrides:
ne in class SQLExpression
- Parameters:
expr - the right-hand operand
- Returns:
- The type of an equality expression is a boolean
Copyright © 2009. All Rights Reserved.