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

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OK. But if the JDBC driver will not provide you what you need or will not be fast enough leveraging the above patterns will be the way to go.

If you must sort data across multiple partitions you will need to use a Distributed Task that will get the "top" objects from each partition and "reduce" at the client each intermediate result into one consolidated result. This is what the JDBC driver essentially doing when called from a remote client. Still , a custom code using projections will make it go way faster as we demonstrate with the Aggregators.