Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 94982 invoked from network); 6 Dec 2010 19:40:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Dec 2010 19:40:30 -0000 Received: (qmail 18948 invoked by uid 500); 6 Dec 2010 19:40:30 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 18926 invoked by uid 500); 6 Dec 2010 19:40:30 -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 18919 invoked by uid 99); 6 Dec 2010 19:40:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 19:40:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 19:40:30 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB6Je9cW004418 for ; Mon, 6 Dec 2010 19:40:09 GMT Message-ID: <1619063.3771291664409498.JavaMail.jira@thor> Date: Mon, 6 Dec 2010 14:40:09 -0500 (EST) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4932) Move the StringColumnVTI to the public api In-Reply-To: <2785581.3021291663028796.JavaMail.jira@thor> 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-4932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Hillegas updated DERBY-4932: --------------------------------- Attachment: derby-4932-01-aa-exposeVTITemplate.diff Attaching derby-4932-01-aa-exposeVTITemplate.diff. This patch exposes the VTITemplate class as the first step toward publishing the StringColumnVTI. Committed at subversion revision 1042768. 10.4 was the first release to expose table functions. It was also the first release which exposed classes in the org.apache.derby.vti package. The first classes from that package which were exposed were VTICosting and VTIEnvironment. In 10.6 we also exposed the classes needed to implement restricted table functions: RestrictedVTI and the Restriction classes. I think that we should have exposed VTITemplate when we introduced user-written table functions. That class was described in the Cloudscape 3.5 Developer's Guide. A future enhancement would be to write a more extensive tutorial on how to write table functions. Touches the following files: ---------- M java/engine/org/apache/derby/vti/VTITemplate.java Minor tweaks to clarify that VTITemplate is useful for writing new-style table functions as well as old-style VTIs. ---------- M tools/javadoc/publishedapi.ant Added VTITemplate to the list of public Derby classes. > Move the StringColumnVTI to the public api > ------------------------------------------ > > Key: DERBY-4932 > URL: https://issues.apache.org/jira/browse/DERBY-4932 > Project: Derby > Issue Type: Improvement > Components: Javadoc, SQL, Tools > Reporter: Rick Hillegas > Assignee: Rick Hillegas > Priority: Minor > Attachments: derby-4932-01-aa-exposeVTITemplate.diff > > > I have found StringColumnVTI to be a very useful class for removing the drudgery of writing a table function. I would like to move it to move it into the package with the other public vti machinery and then expose it as part of Derby's public api. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.