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.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, getAliasForMapTable, invoke, ne, setAliasForMapTableadd, and, bitAnd, bitOr, 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 © 2019. All rights reserved.