Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5635

Provide implementation for getMetaData() in VTITemplate

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.9.1.0
    • 10.9.1.0
    • SQL
    • None

    Description

      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().

      Attachments

        1. d5635.diff
          5 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: