public class NullLiteral extends SQLExpression implements SQLLiteral
SQLExpression.ColumnExpressionListlowestOperator, mapping, parameterName, st, stmt, subExprs, table| Constructor and Description |
|---|
NullLiteral(SQLStatement stmt,
JavaTypeMapping mapping,
Object value,
String parameterName)
Constructor for a null literal with a value (i.e null!).
|
| Modifier and Type | Method and Description |
|---|---|
SQLExpression |
add(SQLExpression expr)
Additive Operator.
|
BooleanExpression |
eq(SQLExpression expr)
Equality operator (equals to)
|
Object |
getValue()
Accessor to the literal value
|
BooleanExpression |
ne(SQLExpression expr)
Not equality operator (not equals to)
|
void |
setNotParameter()
Method to set this literal as not being a parameter.
|
and, cast, com, distinct, div, encloseInParentheses, eor, ge, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, gt, in, invoke, ior, is, isParameter, le, lt, mod, mul, neg, not, setJavaTypeMapping, sub, toSQLTextpublic NullLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value, String parameterName)
stmt - the SQL statementmapping - the mappingvalue - Null!parameterName - Name of the parameter that this represents if any (JDBC "?") NOT USEDpublic Object getValue()
SQLLiteralgetValue in interface SQLLiteralpublic SQLExpression add(SQLExpression expr)
SQLExpressionadd in class SQLExpressionexpr - the right-hand operandpublic BooleanExpression eq(SQLExpression expr)
SQLExpressioneq in class SQLExpressionexpr - the right-hand operandpublic BooleanExpression ne(SQLExpression expr)
SQLExpressionne in class SQLExpressionexpr - the right-hand operandpublic void setNotParameter()
SQLLiteralsetNotParameter in interface SQLLiteralCopyright © 2015. All rights reserved.