db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venu <VENUM...@GMAIL.COM>
Subject Re: Using ASTParser and TreeWalker for parsing SQL query
Date Mon, 17 Jun 2013 14:02:53 GMT
Hi Rick,
My requirement is , I want to parse the SQL and get the data from the
Treewalkers visitednodes hashmap.
I am iterating the visitednodes hashmap and finding the columns data,tables
data,where clause data, order by data and group by data.
Is there any simple way to get above data other than iterating the hashmap.?
Can you provide me a simple example for getting the column data from the
hashmap? Thanks!

View this message in context: http://apache-database.10148.n7.nabble.com/Using-ASTParser-and-TreeWalker-for-parsing-SQL-query-tp131219p131475.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.

View raw message