AerospikeClientQuery Method (QueryPolicy, Statement, ActionKey, Record)

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

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 3.9.16.1 (3.9.16.1)
Syntax

C#
public 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 filter. Statement instance is not suitable for reuse since it's modified in this method.
action
Type: SystemActionKey, Record
action methods to be called for each record

Implements

IAerospikeClientQuery(QueryPolicy, Statement, ActionKey, Record)
Exceptions

ExceptionCondition
AerospikeExceptionif query fails
See Also

Reference