Execute query and call action for each record returned from server.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
void Query( QueryPolicy policy, Statement statement, Action<Key, Record> action )
Parameters
- policy
- Type: Aerospike.ClientQueryPolicy
generic configuration parameters, pass in null for defaults - statement
- Type: Aerospike.ClientStatement
query definition - action
- Type: SystemActionKey, Record
action methods to be called for each record
Exceptions
Exception | Condition |
---|---|
AerospikeException | if query fails |
See Also