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.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public RecordSet Query( QueryPolicy policy, Statement statement )
Parameters
- policy
- Type: Aerospike.ClientQueryPolicy
generic configuration parameters, pass in null for defaults - statement
- Type: Aerospike.ClientStatement
query definition
Return Value
Type: RecordSetImplements
IAerospikeClientQuery(QueryPolicy, Statement)Exceptions
Exception | Condition |
---|---|
AerospikeException | if query fails |
See Also