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: 10.9.0.0
            Reporter: Knut Anders Hatlen
            Assignee: Knut Anders Hatlen
            Priority: Minor


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

        

Reply via email to