Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 37596 invoked from network); 1 Apr 2010 13:06:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Apr 2010 13:06:49 -0000 Received: (qmail 19273 invoked by uid 500); 1 Apr 2010 13:06:49 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 19223 invoked by uid 500); 1 Apr 2010 13:06:48 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 19216 invoked by uid 99); 1 Apr 2010 13:06:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 13:06:48 +0000 X-ASF-Spam-Status: No, hits=-1194.9 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 13:06:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4082E234C4BE for ; Thu, 1 Apr 2010 13:06:27 +0000 (UTC) Message-ID: <1971415500.634111270127187262.JavaMail.jira@brutus.apache.org> Date: Thu, 1 Apr 2010 13:06:27 +0000 (UTC) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3946) Provide support for using the Derby parser to generate Abstract Syntax Trees In-Reply-To: <1410120458.1226518064355.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852367#action_12852367 ] Rick Hillegas commented on DERBY-3946: -------------------------------------- Hi Ciu, Some responses follow: 1) The printing is triggered by the call to QueryTreeNode.treePrint(). That method immediately defers its work to QueryTreeNode.printSubNodes(), which recurses through the nodes, printing as it goes. 2) The *s are expanded by ResultColumnList.expandAllsAndNameColumns(). Hope this helps, -Rick > Provide support for using the Derby parser to generate Abstract Syntax Trees > ---------------------------------------------------------------------------- > > Key: DERBY-3946 > URL: https://issues.apache.org/jira/browse/DERBY-3946 > Project: Derby > Issue Type: Improvement > Components: SQL > Affects Versions: 10.5.1.1 > Reporter: Rick Hillegas > Attachments: ASTParser.java, ASTParser.java, ASTParser.java, derby-3946-01-aa-standaloneParser.diff, TreeWalker.java, TreeWalker.java > > > Users would like to be able to use the Derby parser to produce query trees without actually running the queries on Derby. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.