[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/DateRangeIndex - DateRangeIndex.py:1.4.42.1

Casey Duncan casey@zope.com
Thu, 5 Dec 2002 16:07:45 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/DateRangeIndex
In directory cvs.zope.org:/tmp/cvs-serv29848/DateRangeIndex

Modified Files:
      Tag: casey-zcatalog-speedup-branch
	DateRangeIndex.py 
Log Message:
Cleaned up PlugInIndex interfaces to bring them closer to reality
Added SortIndex and UniqueValueIndex interfaces, assigned them to the proper indexes
Added documentToKeyMap method to UnIndex base class. This is now used in the optimized ZCatalog sort code instead of keyForDocument


=== Zope/lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py 1.4 => 1.4.42.1 ===
--- Zope/lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py:1.4	Wed Aug 14 18:19:28 2002
+++ Zope/lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py	Thu Dec  5 16:07:15 2002
@@ -52,7 +52,9 @@
 
         - Objects which match only during a specific interval.
     """
-    __implements__ = ( PluggableIndex.PluggableIndexInterface, )
+
+    __implements__ = (PluggableIndex.UniqueValueIndex,
+                      PluggableIndex.SortIndex)
 
     security = ClassSecurityInfo()