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

Ask Your Question

Query with a routing property against a partitioned space


when a read request is executed against a partitioned space, and the query contains a WHERE condition on a property which is the routing key (but is different from a space ID), is GigaSpace smart enough to automatically route the request only to one relevant partition, or is it still recommended to explicitly set the routing key on the query?

The same question regarding readMultiple.

asked 2017-05-04 03:25:57 -0500

Alexey Serdyuk gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Yes. Query will be executed against a specific partition.

answered 2017-05-04 05:59:30 -0500

shay hassidim 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: 2017-05-04 03:25:57 -0500

Seen: 908 times

Last updated: May 04 '17