They were made to be Filter.ALL and Filter.NONE.  They're static
singleton constructs I think off the Filter main class.

They should be really easy to implement, and I'd say you should just implement them, you just have to do a query as if there was no filter, and do a query to return nothing. Check the classes to see which is which, I remember them being slightly weird.

C

Gabriel Roldán wrote:
btw I guess this means that it would be better that arcsde makes its own fresh FilterCapabilities instead of inheriting the one from SQLEncoder...

On Thursday 03 August 2006 23:48, Saul Farber wrote:
On lines 184 and 185 in SQLEncoder.java are the following lines
(revision 20608...head on the 2.2.x branch).

         capabilities.addType((long) 12345);
         capabilities.addType((long) -12345);


These lines caused the arcsde module's SQLEncoderSDE class (which
inherits the base-class createFilterCapabilities method) to act
incorrectly, as the bitmask for supported filters was set to accept BBOX
filters.


Are these lines intentional?  Commenting them out fixed my problem, and
they don't make a whole lot of sense to me at first glance.


--saul

-------------------------------------------------------------------------
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


--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
begin:vcard
fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;377 Broadway, 11th Floor;New York;NY;10013;USA
email;internet:[EMAIL PROTECTED]
title:VP, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard

-------------------------------------------------------------------------
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

Reply via email to