IAerospikeClientQuery(QueryPolicy, Statement, ActionKey, Record) Method

Execute query and call action for each record returned from server.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
void Query(
	QueryPolicy policy,
	Statement statement,
	Action<Key, Record> action
)

Parameters

policy  QueryPolicy
generic configuration parameters, pass in null for defaults
statement  Statement
query definition
action  ActionKey, Record
action methods to be called for each record

Exceptions

AerospikeExceptionif query fails

See Also