com.triactive.jdo.store.sql.expr
Class MapFieldExpression
java.lang.Object
com.triactive.jdo.store.sql.expr.AbstractSqlExpression
com.triactive.jdo.store.sql.expr.MapExpression
com.triactive.jdo.store.sql.expr.MapFieldExpression
- All Implemented Interfaces:
- SqlExpression, StatementTextGenerator
- public class MapFieldExpression
- extends MapExpression
A map expression that represents some map field in a query candidate class,
or a map field in an object linked from the candidate class by navigation.
When navigated through using containsKey(expr) or containsValue(expr), the
keys or values of the map are added as a correlated subquery.
- 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 |
MapFieldExpression
public MapFieldExpression(QueryStatement.QueryColumn ownerQsc,
MapStore mapStore,
java.lang.String fieldName)
keySetMethod
public SetExpression keySetMethod()
valuesMethod
public SetExpression valuesMethod()
containsKeyMethod
public SqlExpression containsKeyMethod(SqlExpression expr)
containsValueMethod
public SqlExpression containsValueMethod(SqlExpression expr)
isEmptyMethod
public SqlExpression isEmptyMethod()
sizeMethod
public SqlExpression sizeMethod()
toStatementText
public StatementText toStatementText()
- Description copied from interface:
StatementTextGenerator
- Returns the SQL statement text which this object generates.
- Specified by:
toStatementText
in interface StatementTextGenerator
- Overrides:
toStatementText
in class MapExpression
Copyright © 2001-2007 The TJDO Project All Rights Reserved.