public class ArrayExpression extends SQLExpression
SQLExpression.ColumnExpressionList
Modifier and Type | Field and Description |
---|---|
protected List<SQLExpression> |
elementExpressions
Expressions for all elements in the array.
|
lowestOperator, mapping, parameterName, st, stmt, subExprs, table
Constructor and Description |
---|
ArrayExpression(SQLStatement stmt,
JavaTypeMapping mapping,
SQLExpression[] exprs)
Constructor for an SQL expression for an array expression specified in the query.
|
ArrayExpression(SQLStatement stmt,
SQLTable table,
JavaTypeMapping mapping)
Constructor for an SQL expression for a (field) mapping in a specified table.
|
Modifier and Type | Method and Description |
---|---|
BooleanExpression |
eq(SQLExpression expr)
Equality operator (equals to)
|
List<SQLExpression> |
getElementExpressions() |
SQLExpression |
invoke(String methodName,
List args)
Invocation of a method on this expression.
|
BooleanExpression |
ne(SQLExpression expr)
Not equality operator (not equals to)
|
add, and, cast, com, distinct, div, encloseInParentheses, eor, ge, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, gt, in, ior, is, isParameter, le, lt, mod, mul, neg, not, setJavaTypeMapping, sub, toSQLText
protected List<SQLExpression> elementExpressions
public ArrayExpression(SQLStatement stmt, SQLTable table, JavaTypeMapping mapping)
stmt
- The statementtable
- The table in the statementmapping
- The mapping for the fieldpublic ArrayExpression(SQLStatement stmt, JavaTypeMapping mapping, SQLExpression[] exprs)
stmt
- The statementmapping
- The mapping for the fieldexprs
- element expressionspublic List<SQLExpression> getElementExpressions()
public SQLExpression invoke(String methodName, List args)
SQLExpression
invoke
in class SQLExpression
methodName
- name of the method to invokeargs
- Args to this method (if any)public BooleanExpression eq(SQLExpression expr)
SQLExpression
eq
in class SQLExpression
expr
- the right-hand operandpublic BooleanExpression ne(SQLExpression expr)
SQLExpression
ne
in class SQLExpression
expr
- the right-hand operandCopyright © 2015. All rights reserved.