public class MapLiteral extends MapExpression implements SQLLiteral
| Modifier and Type | Class and Description | 
|---|---|
| static class  | MapLiteral.MapKeyLiteralAn SQL expression that will test if a column of a table falls within the given Map's keys. | 
| static class  | MapLiteral.MapValueLiteralAn SQL expression that will test if a column of a table falls within the given Map's values. | 
SQLExpression.ColumnExpressionListlowestOperator, 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, neadd, 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, toSQLTextpublic 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()
SQLLiteralgetValue in interface SQLLiteralpublic MapLiteral.MapKeyLiteral getKeyLiteral()
public MapLiteral.MapValueLiteral getValueLiteral()
public void setNotParameter()
SQLLiteralsetNotParameter in interface SQLLiteralCopyright © 2015. All rights reserved.