[
https://issues.apache.org/jira/browse/DERBY-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mamta A. Satoor updated DERBY-1674:
-----------------------------------
Urgency: Low
Labels: derby_triage10_11 (was: )
> Investigate reducing the number of classes & methods in DataDictionary used
> to represent system tables
> -------------------------------------------------------------------------------------------------------
>
> Key: DERBY-1674
> URL: https://issues.apache.org/jira/browse/DERBY-1674
> Project: Derby
> Issue Type: Improvement
> Components: SQL
> Reporter: Daniel John Debrunner
> Priority: Minor
> Labels: derby_triage10_11
>
> Currently two classes exists for each system table, one to represent the
> table (e.g.SYSTABLESRowFactory) , one to represent a row (e.g.
> TableDescriptor)
> Look at having a single row factory (CatalogRowFactory) and using
> polymorphism (method overloading) on the descriptor objects to perform the
> work
> that is done today (e.g. converting a descriptor to and from a Row object).
> In addition the DataDictionary has a specific method to drop each type of
> unique descriptor (e.g. dropSPSDescriptor, dropAliasDescriptor)
> Would it be possible to have a single
> dropDescriptor(UniqueSQLObjectDescriptor) method and again use polymorphism
> on the descriptors.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira