db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5635) Provide implementation for getMetaData() in VTITemplate
Date Thu, 01 Mar 2012 20:51:58 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220349#comment-13220349

Rick Hillegas commented on DERBY-5635:

Sounds like a good improvement to me, Knut. +1. Thanks.
> Provide implementation for getMetaData() in VTITemplate
> -------------------------------------------------------
>                 Key: DERBY-5635
>                 URL: https://issues.apache.org/jira/browse/DERBY-5635
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: d5635.diff
> VTITemplate defines getMetaData() as an abstract method. That method doesn't appear to
be needed for user-defined table functions, so it would be good to provide a default implementation
(could just throw an exception) so that less boilerplate is needed when writing table functions.
The method does however get used by system VTIs, which is probably why it was made abstract
in the first place. The system VTIs should still override getMetaData().

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message