This class manages result retrieval from queries.
Multiple threads will retrieve results from the server nodes and put these results on the queue.
The single user thread consumes these results from the queue.
Inheritance Hierarchy
Aerospike.ClientResultSet
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.0.0 (5.1.0)
Syntax
C#
public sealed class ResultSet : IDisposable, IResultSet
The ResultSet type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ResultSet |
Initialize result set with underlying producer/consumer queue.
|
Properties
Name | Description | |
---|---|---|
![]() | CancelToken |
Get CancellationToken associated with this query.
|
![]() | Object |
Get result.
|
Methods
Name | Description | |
---|---|---|
![]() | Close |
Close query.
|
![]() | Dispose |
Close query.
|
![]() | Next |
Retrieve next result. Returns true if result exists and false if no more
results are available.
This method will block until a result is retrieved or the query is cancelled.
|
![]() | Put |
Put object on the queue.
|
See Also