public class ObjectLiteral extends ObjectExpression implements SQLLiteral
SQLExpression.ColumnExpressionListlowestOperator, mapping, parameterName, st, stmt, subExprs, table| Constructor and Description |
|---|
ObjectLiteral(SQLStatement stmt,
JavaTypeMapping mapping,
Object value,
String parameterName)
Constructor for an Object literal with a value.
|
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
eq(SQLExpression expr)
Method called when the query contains "object == value".
|
Object |
getValue()
Accessor to the literal value
|
BooleanExpression |
ne(SQLExpression expr)
Method called when the query contains "object NOTEQUALS value".
|
void |
setNotParameter()
Method to set this literal as not being a parameter.
|
protected void |
setStatement() |
String |
toString() |
addSubexpressionsToRelatedExpression, cast, ge, gt, in, invoke, is, le, lt, processComparisonOfImplementationWithReference, useFirstColumnOnlyadd, and, bitAnd, bitOr, com, distinct, div, encloseInParentheses, eor, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, ior, isParameter, mod, mul, neg, not, setJavaTypeMapping, sub, toSQLTextpublic ObjectLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value, String parameterName)
stmt - the SQL statementmapping - the mappingvalue - the Object valueparameterName - Name of the parameter that this represents if any (as JDBC "?")public Object getValue()
SQLLiteralgetValue in interface SQLLiteralpublic BooleanExpression eq(SQLExpression expr)
eq in class ObjectExpressionexpr - The expressionpublic BooleanExpression ne(SQLExpression expr)
ne in class ObjectExpressionexpr - The expressionpublic void setNotParameter()
SQLLiteralsetNotParameter in interface SQLLiteralprotected void setStatement()
Copyright © 2019. All rights reserved.