db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-2486) Control a sort just through SortController and remove concept of a long sort identifier
Date Sun, 25 Mar 2007 15:21:32 GMT
Control a sort just through SortController and remove concept of a long sort identifier
---------------------------------------------------------------------------------------

                 Key: DERBY-2486
                 URL: https://issues.apache.org/jira/browse/DERBY-2486
             Project: Derby
          Issue Type: Improvement
          Components: Store
            Reporter: Daniel John Debrunner
         Assigned To: Daniel John Debrunner


A sort is obtained through TransactionController.openSort() which returns a long, this is
then used with various methods on TransactionController to get a SortController, get the scans
against the sort and drop the sort.

This is not a natural OO style of programming, instead the open should return the SortController
and then all actions on the sort including dropping be methods on SortController.

This would be cleaner and remove the logic in RAMTransaction that tries to re-uses long sort
identifiers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message