public class MapLiteral extends MapExpression implements SQLLiteral
Modifier and Type | Class and Description |
---|---|
static class |
MapLiteral.MapKeyLiteral
An SQL expression that will test if a column of a table falls within the given Map's keys.
|
static class |
MapLiteral.MapValueLiteral
An SQL expression that will test if a column of a table falls within the given Map's values.
|
SQLExpression.ColumnExpressionList
lowestOperator, mapping, parameterName, st, stmt, subExprs, table
Constructor and Description |
---|
MapLiteral(SQLStatement stmt,
JavaTypeMapping mapping,
Object value,
String parameterName)
Constructor for a map literal with a value.
|
Modifier and Type | Method and Description |
---|---|
MapLiteral.MapKeyLiteral |
getKeyLiteral() |
Object |
getValue()
Accessor to the literal value
|
MapLiteral.MapValueLiteral |
getValueLiteral() |
void |
setNotParameter()
Method to set this literal as not being a parameter.
|
eq, invoke, ne
add, and, cast, com, distinct, div, encloseInParentheses, eor, ge, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, gt, in, ior, is, isParameter, le, lt, mod, mul, neg, not, setJavaTypeMapping, sub, toSQLText
public MapLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value, String parameterName)
stmt
- The SQLStatement the MapLiteral will be used in.mapping
- The mapping to the Mapvalue
- The Map that is the value.parameterName
- Name of the parameter that this represents if any (JDBC "?")public Object getValue()
SQLLiteral
getValue
in interface SQLLiteral
public MapLiteral.MapKeyLiteral getKeyLiteral()
public MapLiteral.MapValueLiteral getValueLiteral()
public void setNotParameter()
SQLLiteral
setNotParameter
in interface SQLLiteral
Copyright © 2015. All rights reserved.