Class InExpression
java.lang.Object
org.datanucleus.store.rdbms.sql.expression.SQLExpression
org.datanucleus.store.rdbms.sql.expression.BooleanExpression
org.datanucleus.store.rdbms.sql.expression.InExpression
Expression representing the SQL construct "IN (expr1, expr2, ...)".
-
Nested Class Summary
Nested classes/interfaces inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
SQLExpression.ColumnExpressionList
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) SQLExpression
(package private) SQLExpression[]
(package private) boolean
Fields inherited from class org.datanucleus.store.rdbms.sql.expression.BooleanExpression
hasClosure
Fields inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
lowestOperator, mapping, parameterName, st, stmt, subExprs, table
-
Constructor Summary
ConstructorsConstructorDescriptionInExpression
(SQLExpression expr, List<SQLExpression> exprList) Constructor for an IN expression.InExpression
(SQLExpression expr, SQLExpression[] exprs) Constructor for an IN expression. -
Method Summary
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.BooleanExpression
and, eor, eq, hasClosure, in, invoke, ior, ne, neg
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
add, bitAnd, bitOr, cast, com, distinct, div, encloseInParentheses, ge, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, gt, is, isParameter, le, lt, mod, mul, setJavaTypeMapping, sub, toSQLText, unDistinct
-
Field Details
-
negated
boolean negated -
expr
SQLExpression expr -
exprs
SQLExpression[] exprs
-
-
Constructor Details
-
InExpression
Constructor for an IN expression.- Parameters:
expr
- The expression that is contained.exprs
- The expressions that it is contained in
-
InExpression
Constructor for an IN expression.- Parameters:
expr
- The expression that is contained.exprList
- List of expressions that it is contained in
-
-
Method Details
-
not
Description copied from class:SQLExpression
Logical complement- Overrides:
not
in classBooleanExpression
- Returns:
- the result value is false if operand is true; otherwise, the result is true.
-
setStatement
protected void setStatement()
-