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.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public delegate void QueryListener( Key key, Record record )
Parameters
- key
- Type: Aerospike.ClientKey
unique record identifier - record
- Type: Aerospike.ClientRecord
record instance
Exceptions
Exception | Condition |
---|---|
AerospikeException | if error occurs or query should be terminated |
See Also