| erik@jpox.org 2006-02-09, 5:45 pm |
| Thanks Craig.
If a map is projected, do we have two cells (key, value) or one cell with type
Map.Entry ?
I would expect it to be Map.Entry, what is in the spec?
Quoting Craig L Russell <Craig.Russell@Sun.COM>:
> Javadogs,
>
> I've reworded the section in 14.6.9 as follows:
>
> removed:
> 14.6.9 If a variable or a field of a variable is included in the
> result, either directly or via navigation through the variable,
> then the semantics of the "contains" clause that include the
> variable change. In this case, all values of the variable that
> satisfy the filter are included in the result.
>
> added:
> A14.6.9-3 [Result expressions begin with either an instance of the
> candidate class (with an explicit or implicit "this") or an instance
> of a variable (using the variable name). The candidate tuples are the
> cartesian product of the candidate class and all variables used in
> the result. The result tuples are the tuples of the candidate class
> and all variables used in the result that satisfy the filter. The
> result is the collection of result expressions projected from the
> result tuples. If variables are not used in the result expression,
> then the filter is evaluated for all possible values for each such
> variable, and if the filter evaluates to true for any combination of
> such variables, then the candidate tuple becomes a result tuple.]
>
> Craig
>
> On Feb 8, 2006, at 5:21 PM, Craig L Russell wrote:
>
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>
|