> Sorry about that, I overlooked the Javadoc on FeatureSource.getCount() > and went straight to reproducing the behavior of > JDBCFeatureSource.getCountInternal(). So I guess in that case a full > table scan when a postFilter is present was judged acceptable. >
I guess, I have not reviewed that implementation. I would of expected JDBCFeatureSource to do some kind of select count statement rather than read features one at a time? I missed that, thanks for the example. > No problem, hope it passes your testing :) I did and works for me, after a small fix to a unit test: > https://github.com/geotools/geotools/pull/883 See my above suggestion, for fixing test cases you probably want to commit directly :)
------------------------------------------------------------------------------
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel