Batch key and read only operations with default policy.
Used in batch read commands where different bins are needed for each key.
Inheritance Hierarchy
Aerospike.ClientBatchRecord
Aerospike.ClientBatchRead
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public sealed class BatchRead : BatchRecord
The BatchRead type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BatchRead(Key, Operation) |
Initialize batch key and read operations.
|
![]() | BatchRead(Key, Boolean) |
Initialize batch key and readAllBins indicator.
|
![]() | BatchRead(Key, String) |
Initialize batch key and bins to retrieve.
|
![]() | BatchRead(BatchReadPolicy, Key, Operation) |
Initialize batch policy, key and read operations.
|
![]() | BatchRead(BatchReadPolicy, Key, Boolean) |
Initialize batch policy, key and readAllBins indicator.
|
![]() | BatchRead(BatchReadPolicy, Key, String) |
Initialize batch policy, key and bins to retrieve.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals |
Optimized reference equality check to determine batch wire protocol repeat flag.
For internal use only.
(Overrides BatchRecordEquals(BatchRecord).) |
![]() | GetBatchType |
Return batch command type.
(Overrides BatchRecordGetBatchType.) |
![]() | Prepare |
Prepare for upcoming batch call. Reset result fields because this instance might be
reused. For internal use only.
(Inherited from BatchRecord.) |
![]() | SetError |
Set error result. For internal use only.
(Inherited from BatchRecord.) |
![]() | SetRecord |
Set record result. For internal use only.
(Inherited from BatchRecord.) |
![]() | Size |
Return wire protocol size. For internal use only.
(Overrides BatchRecordSize.) |
![]() | ToString |
Convert to string.
(Inherited from BatchRecord.) |
Fields
Name | Description | |
---|---|---|
![]() | binNames |
Bins to retrieve for this key. binNames are mutually exclusive with
ops.
|
![]() | hasWrite |
Does this command contain a write operation. For internal use only.
(Inherited from BatchRecord.) |
![]() | inDoubt |
Is it possible that the write transaction may have completed even though an error
occurred for this record. This may be the case when a client error occurs (like timeout)
after the command was sent to the server.
(Inherited from BatchRecord.) |
![]() | key |
Key.
(Inherited from BatchRecord.) |
![]() | ops |
Optional operations for this key. ops are mutually exclusive with
binNames. A binName can be emulated with
Get(String) |
![]() | policy |
Optional read policy.
|
![]() | readAllBins |
If true, ignore binNames and read all bins.
If false and binNames are set, read specified binNames.
If false and binNames are not set, read record header (generation, expiration) only.
|
![]() | record |
Record result after batch command has completed. Will be null if record was not found
or an error occurred. See resultCode.
(Inherited from BatchRecord.) |
![]() | resultCode |
Result code for this returned record. See ResultCode.
If not OK, the record will be null.
(Inherited from BatchRecord.) |
See Also