QueryListener Delegate

This method will be called for each record returned from a sync query. The user may throw a AerospikeException.QueryTerminated 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: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
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