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 SQLExpression
SQLExpression.ColumnExpressionList -
Field Summary
FieldsModifier and TypeFieldDescription(package private) SQLExpression(package private) SQLExpression[](package private) booleanFields inherited from class BooleanExpression
hasClosureFields inherited from class 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 BooleanExpression
and, eor, eq, hasClosure, in, invoke, ior, ne, negMethods inherited from class 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:SQLExpressionLogical complement- Overrides:
notin classBooleanExpression- Returns:
- the result value is false if operand is true; otherwise, the result is true.
-
setStatement
protected void setStatement()
-