AsyncClient Query Method Aerospike
Overload List

  NameDescription
Public methodQuery(QueryPolicy, Statement)
Execute query and return record iterator. The query executor puts records on a queue in separate threads. The calling thread concurrently pops records off the queue through the record iterator.
(Inherited from AerospikeClient.)
Public methodQuery(QueryPolicy, Statement, Action Key, Record )
Execute query and call action for each record returned from server.
(Inherited from AerospikeClient.)
Public methodQuery(QueryPolicy, RecordSequenceListener, Statement)
Asynchronously execute query on all server nodes. The query policy's
maxConcurrentNodes
dictate how many nodes can be queried in parallel. The default is to query all nodes in parallel.

This method schedules the node's query commands with channel selectors and returns. Selector threads will process the commands and send the results to the listener.

Back to Top
See Also