public class UnboundExpression extends SQLExpression
this.names.contains(var) && var == someValuein the first clause the "var" is unbound when passing in to the InvokeExpression, so it is passed in as an UnboundExpression, and in that contains() method will be bound to the collection (element) table (a join added).
SQLExpression.ColumnExpressionList| Modifier and Type | Field and Description |
|---|---|
protected String |
variableName |
lowestOperator, mapping, parameterName, st, stmt, subExprs, table| Constructor and Description |
|---|
UnboundExpression(SQLStatement stmt,
String variableName)
Constructor for an SQL expression for an unbound variable.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getVariableName()
Accessor for the variable name
|
add, and, bitAnd, bitOr, cast, com, distinct, div, encloseInParentheses, eor, eq, ge, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, gt, in, invoke, ior, is, isParameter, le, lt, mod, mul, ne, neg, not, setJavaTypeMapping, sub, toSQLTextprotected String variableName
public UnboundExpression(SQLStatement stmt, String variableName)
stmt - The statementvariableName - name of the variablepublic String getVariableName()
Copyright © 2019. All rights reserved.