[
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.