QueryListener Delegate

This method will be called for each record returned from a sync query. The user may throw a AerospikeExceptionQueryTerminated exception if the query should be aborted. If an exception is thrown, parallel query command threads to other nodes will also be terminated.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public delegate void QueryListener(
	Key key,
	Record record
)

Parameters

key  Key
unique record identifier
record  Record
record instance

Exceptions

AerospikeExceptionif error occurs or query should be terminated

See Also