From: Jody G. <jga...@re...> - 2005-05-06 21:12:49
|
Here is the plan: 1) FeatureResults is extended by FeatureCollection 2) FeatureResults is *not* deprecated (otherwise FeatureCollections would be) 3) Individual methods of FeatureResults, like reader(), are deprecated with instructions to use FeatureCollection.iterator() 4) An adapter will be made to gather up a FeatureReader in Iterator clothing 5) FeatureCollection.close( iterator ) will be used as a replacement for FeatureReader close in client code Note this process will formally separate: the - the low level DataStore/FeatureReader/AttributeReader API; from - the high level Repository/FeatureSource/FeatureCollection/Iterator API. I love the smell of abstraction in the morning (yes this is in contrast to the rendering optimization discussion). Jody |