This class manages record retrieval from queries.
Multiple threads will retrieve records from the server nodes and put these records on the queue.
The single user thread consumes these records from the queue.
Inheritance Hierarchy
Aerospike.ClientRecordSet
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public sealed class RecordSet : IDisposable, IRecordSet
The RecordSet type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | CancelToken |
Get CancellationToken associated with this query.
|
![]() | Key |
Get record's unique identifier.
|
![]() | Record |
Get record's header and bin data.
|
Methods
Name | Description | |
---|---|---|
![]() | Close |
Close query.
|
![]() | Dispose |
Close query.
|
![]() | Next |
Retrieve next record. Returns true if record exists and false if no more
records are available.
This method will block until a record is retrieved or the query is cancelled.
|
See Also