AsyncClientProxyQuery(QueryPolicy, CancellationToken, Statement, ActionKey, Record) Method
Execute query and call action for each record returned from server.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
public Task Query(
QueryPolicy policy,
CancellationToken token,
Statement statement,
Action<Key, Record> action
)
- policy QueryPolicy
- generic configuration parameters, pass in null for defaults
- token CancellationToken
- cancellation token
- statement Statement
- query definition
- action ActionKey, Record
- action methods to be called for each record
Task