aerospike-client-java icon indicating copy to clipboard operation
aerospike-client-java copied to clipboard

Support asynchronous aggregate queries

Open daniel-siegmann-aol opened this issue 10 years ago • 2 comments

It would be very helpful to have an asynchronous equivalent to AerospikeClient.queryAggregate(). This feature gap prevents the use of AsyncClient in applications which require aggregation.

daniel-siegmann-aol avatar Jun 15 '15 14:06 daniel-siegmann-aol

Although it would be desirable to support aggregation queries in asynchronous mode, AsyncClient does not prevent the use of queryAggregate(). AsyncClient inherits from AerospikeClient, so all synchronous functionality is available in AsyncClient.

BrianNichols avatar Jun 15 '15 17:06 BrianNichols

However, an application which needs to make asynchronous calls to queryAggregate() will need to have its own support for performing async operations. At that point, is there any advantage to using the internal Aerospike support for async operations? Seems like it would be better for the application to just keep things consistent and use the same async framework everywhere.

In any case, not the end of the world, but it would be beneficial if this gap could be closed.

daniel-siegmann-aol avatar Jun 15 '15 19:06 daniel-siegmann-aol