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.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.5.0 (4.2.5)
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.
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if query fails |
See Also