com.triactive.jdo.store.sql.expr
Class MapLiteral
java.lang.Object
com.triactive.jdo.store.sql.expr.AbstractSqlExpression
com.triactive.jdo.store.sql.expr.MapExpression
com.triactive.jdo.store.sql.expr.MapLiteral
- All Implemented Interfaces:
- SqlExpression, StatementTextGenerator
- public class MapLiteral
- extends MapExpression
A MapLiteral is a SQL expression that will test if a column of a table
exists within the given Map's keys or values.
This is used for querys where a transient Map is passed in as a parameter.
- Author:
- Mike Martin
Methods inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression |
accessField, add, and, callMethod, cast, com, div, eor, eq, getColumnMapping, getJavaType, getMapping, getQueryStatement, getReferencedColumns, gt, gteq, innermostQuery, innermostQuery, ior, lt, lteq, mod, mul, neg, newBody, newBody, newBody, newBody, newBody, newBody, newResultExpression, newSubqueryBody, not, noteq, select, setMapping, sub, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MapLiteral
public MapLiteral(QueryStatement qs,
java.util.Map value)
getMethod
public SqlExpression getMethod(SqlExpression expr)
containsKeyMethod
public SqlExpression containsKeyMethod(SqlExpression expr)
containsValueMethod
public SqlExpression containsValueMethod(SqlExpression expr)
isEmptyMethod
public SqlExpression isEmptyMethod()
sizeMethod
public SqlExpression sizeMethod()
Copyright © 2001-2007 The TJDO Project All Rights Reserved.