Hi Gabriel, I have thought about both your feedback and Andrea's feedback .. and I am kind of stuck.
I respect what you are both asking for out of a Query object, but I am worried about placing the implementation burden too high. I do like the idea of a Query, but would be more comfortable if it was seperated from this API. As example some needs are too hard for implementations to meet: sorting, paged access etc... and some may be impossible (asking for a bean with only some response elements filled in ). So we can try it, but I really need to focus on "easy of implementation" here, I want the library to be useful to a wider community then what we are currently running. As it stands now I can dump a collection of any Pojo's onto a map, this enables GeoTools to be used in many more situations then before. With respect to your Query API , I do like it and figure we will have to sort out something along those lines. Query Results however is a bit rough, see the wiki page for an alternative. Thanks again Gabriel - I am curious to what can be done here. Jody >> ... >> Oh, to be more clear, what I'm really concerned about is to have two >> separated paths in the code for handling Source and FeatureSource, >> this is what I find totally unacceptable. >> >> As for having the interfaces around with no duplicate code paths, >> I'm not totally against, I still think they do add to the confusion >> without provide any value, but at least they do not harm too much. >> >> > > Hi Andrea sorry about jumping on so late. I guess a revamp of the interfaces > is indeed needed but not just to have one more level of abstraction but to > actually add value as functionality. The current api is too "service > oriented". Aka, purely streamlined, which is great, provided that we can > support some common scenarios where one does not wants to go through the > whole data. > Example: paging and querying identifiers > > See my previous post with the link to the comment on the wiki. > > regards, > > Gabriel > > >> Cheers >> Andrea >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Geotools-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-devel >> > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
