Execute query and call action for each record returned from server.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 4.1.0.0 (4.1.0)
Syntax
Parameters
- policy
- Type: Aerospike.Client QueryPolicy
generic configuration parameters, pass in null for defaults
- statement
- Type: Aerospike.Client Statement
query filter. Statement instance is not suitable for reuse since it's modified in this method.
Implements
IAerospikeClient Query(QueryPolicy, Statement, Action Key, Record )Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if query fails |
See Also