| Parser for handling JDOQL Single-String queries.
Takes a JDOQLQuery and the query string and parses it into its constituent parts, updating
the JDOQLQuery accordingly with the result that after calling the parse() method the JDOQLQuery
is populated.
select [unique] [ ] [into ]
[from [exclude subclasses] ]
[where ]
[variables ]
[parameters ]
[]
[group by ]
[order by ]
[range ,]
Note that {filter} can contain subqueries, hence containing keywords
SELECT c FROM Customer c WHERE timeAvailable < (SELECT avg(hours) FROM Employee e)
So the "filter" for the outer query is "timeAvailable < (SELECT avg(hours) FROM Employee e)"
version: $Revision: 1.13 $ |