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

Provide implementation for getMetaData() in VTITemplate

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: