Asynchronously execute query for specified partitions. The query policy's
dictate how many nodes can be queried in parallel.
The default is to query all nodes in parallel.
Namespace: Aerospike.ClientmaxConcurrentNodes
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.
Each record result is returned in separate OnRecord() calls.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.1.6.0 (4.1.6)
Syntax
Parameters
- policy
- Type: Aerospike.Client QueryPolicy
query configuration parameters, pass in null for defaults
- listener
- Type: Aerospike.Client RecordSequenceListener
where to send results
- statement
- Type: Aerospike.Client Statement
database query command parameters
- partitionFilter
- Type: Aerospike.Client PartitionFilter
filter on a subset of data partitions
Implements
IAsyncClient QueryPartitions(QueryPolicy, RecordSequenceListener, Statement, PartitionFilter)Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if query fails |
See Also