Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

XAP 7.1 - Search within a collection of Integers in a space object


Is there a way to search for a space object that contains a particular element (not a nested object) in a collection member field..

SpaceObject { private Collection<integer> keys; ... }

I want to be able to read the SpaceObject which has key = 1 in its collection of keys.

Is there a way to do this..

Thanks, Chandrika

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3683]{quote}

asked 2011-06-13 16:07:00 -0500

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Gigaspaces by default serializes collections as BinaryObject and can not be queried.

See Overview section to supported data types http://www.gigaspaces.com/wiki/displa...

answered 2011-06-15 10:48:24 -0500

venkatg gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2011-06-13 16:07:00 -0500

Seen: 86 times

Last updated: Jun 15 '11