public class BinaryExpression extends SQLExpression
SQLExpression.ColumnExpressionListlowestOperator, mapping, parameterName, st, stmt, subExprs, table| Constructor and Description |
|---|
BinaryExpression(SQLStatement stmt,
JavaTypeMapping mapping,
String functionName,
List<SQLExpression> args,
List types) |
BinaryExpression(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)
|
BooleanExpression |
gt(SQLExpression expr)
Relational operator (greater than)
|
BooleanExpression |
gteq(SQLExpression expr) |
BooleanExpression |
in(SQLExpression expr,
boolean not)
In expression.
|
BooleanExpression |
lt(SQLExpression expr)
Relational operator (lower than)
|
BooleanExpression |
lteq(SQLExpression expr) |
BooleanExpression |
noteq(SQLExpression expr) |
add, and, bitAnd, bitOr, cast, com, distinct, div, encloseInParentheses, eor, ge, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, invoke, ior, is, isParameter, le, mod, mul, ne, neg, not, setJavaTypeMapping, sub, toSQLTextpublic BinaryExpression(SQLStatement stmt, SQLTable table, JavaTypeMapping mapping)
stmt - The statementtable - The table in the statementmapping - The mapping for the fieldpublic BinaryExpression(SQLStatement stmt, JavaTypeMapping mapping, String functionName, List<SQLExpression> args, List types)
stmt - SQL statementmapping - The mappingfunctionName - Function to invokeargs - Function argstypes - Function arg typespublic BooleanExpression eq(SQLExpression expr)
SQLExpressioneq in class SQLExpressionexpr - the right-hand operandpublic BooleanExpression noteq(SQLExpression expr)
public BooleanExpression lt(SQLExpression expr)
SQLExpressionlt in class SQLExpressionexpr - the right-hand operandpublic BooleanExpression lteq(SQLExpression expr)
public BooleanExpression gt(SQLExpression expr)
SQLExpressiongt in class SQLExpressionexpr - the right-hand operandpublic BooleanExpression gteq(SQLExpression expr)
public BooleanExpression in(SQLExpression expr, boolean not)
SQLExpressionexprin in class SQLExpressionexpr - the right-hand expressionnot - Whether we really want "not in"Copyright © 2019. All rights reserved.