db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashwin Jayaprakash" <ashwin...@rediffmail.com>
Subject Derby-SQL: Syntax Tree generator?
Date Mon, 26 Dec 2005 12:42:57 GMT
Hi,
Does anybody know if there is a way to parse and view the AST for an SQL Query in Derby? I
looked at the sqlparser.jj in the source code, but couldn't find a way to start it and parse
a query without hacking into all the code.

Some thing like this one: http://www.experlog.com/gibello/zql/ ?

I am especially interested in extending the SQL grammar a little bit by adding a few keywords
and re-writing some queries issued by the user. So,  some kind of a Visitor-pattern would
be nice.

Thanks,
Ashwin (www.JavaForU.com).













Mime
View raw message