That is what I meant by not trust it to produce a result (i.e. expect it to 
return -1 and break out a manual scan). 
-- 
Jody Garnett


On Friday, 26 August 2011 at 8:57 PM, Andrea Aime wrote:

> On Fri, Aug 26, 2011 at 12:51 PM, Jody Garnett <[email protected] 
> (mailto:[email protected])> wrote:
> > I get a little lost in the utility methods for ContentFeatureSource; okay it
> > looks like the original ContentFeatureSource.size method was gutted:
> > // return filtered(entry.getState(transaction), query.getFilter()).size();
> > With that in mind we should update ContentFeatureCollection not to trust it
> 
> Or else, use it and if it returns -1, do a manual scan instead
> 
> Cheers
> Andrea
> 
> 
> -- 
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
> 
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
> 
> phone: +39 0584 962313
> fax: +39 0584 962313
> 
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
> 
> -------------------------------------------------------

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to