Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3D4010D10 for ; Mon, 17 Jun 2013 14:03:44 +0000 (UTC) Received: (qmail 38218 invoked by uid 500); 17 Jun 2013 14:03:44 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 37837 invoked by uid 500); 17 Jun 2013 14:03:42 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 37815 invoked by uid 99); 17 Jun 2013 14:03:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 14:03:41 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of VENUMMCA@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 14:03:34 +0000 Received: from tom.nabble.com ([192.168.236.105]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Uoa1F-00053o-Bb for derby-user@db.apache.org; Mon, 17 Jun 2013 07:02:53 -0700 Date: Mon, 17 Jun 2013 07:02:53 -0700 (PDT) From: venu To: derby-user@db.apache.org Message-ID: <1371477773348-131475.post@n7.nabble.com> In-Reply-To: <51BF0C14.7000401@oracle.com> References: <1371180867740-131219.post@n7.nabble.com> <51BB1D11.3030908@oracle.com> <1371233868201-131390.post@n7.nabble.com> <51BB76FC.1040009@oracle.com> <1371275765941-131432.post@n7.nabble.com> <51BF0C14.7000401@oracle.com> Subject: Re: Using ASTParser and TreeWalker for parsing SQL query MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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! Thanks, Venu. -- 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.