public static class MapLiteral.MapKeyLiteral extends SQLExpression implements SQLLiteral
SQLExpression.ColumnExpressionList
lowestOperator, mapping, parameterName, st, stmt, subExprs, table
Constructor and Description |
---|
MapKeyLiteral(SQLStatement stmt,
JavaTypeMapping mapping,
Object value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<SQLExpression> |
getKeyExpressions() |
Object |
getValue()
Accessor to the literal value
|
SQLExpression |
invoke(String methodName,
List args)
Invocation of a method on this expression.
|
void |
setNotParameter()
Method to set this literal as not being a parameter.
|
protected void |
setStatement() |
add, and, bitAnd, bitOr, cast, com, distinct, div, encloseInParentheses, eor, eq, ge, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, gt, in, ior, is, isParameter, le, lt, mod, mul, ne, neg, not, setJavaTypeMapping, sub, toSQLText
public MapKeyLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value)
stmt
- SQL statementmapping
- The mapping for the Mapvalue
- The transient Map that is the value.public List<SQLExpression> getKeyExpressions()
public SQLExpression invoke(String methodName, List args)
SQLExpression
invoke
in class SQLExpression
methodName
- name of the method to invokeargs
- Args to this method (if any)public Object getValue()
SQLLiteral
getValue
in interface SQLLiteral
public void setNotParameter()
SQLLiteral
setNotParameter
in interface SQLLiteral
protected void setStatement()
Copyright © 2017. All rights reserved.