AerospikeClientOperate Method (BatchPolicy, ListBatchRecord)

Aerospike
Read/Write multiple records for specified batch keys in one batch call. This method allows different namespaces/bins for each key in the batch. The returned records are located in the same list.

BatchRecord can be BatchRead, BatchWrite, BatchDelete or BatchUDF.

Requires server version 6.0+

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public bool Operate(
	BatchPolicy policy,
	List<BatchRecord> records
)

Parameters

policy
Type: Aerospike.ClientBatchPolicy
batch configuration parameters, pass in null for defaults
records
Type: System.Collections.GenericListBatchRecord
list of unique record identifiers and read/write operations

Return Value

Type: Boolean
true if all batch sub-commands succeeded

Implements

IAerospikeClientOperate(BatchPolicy, ListBatchRecord)
Exceptions

ExceptionCondition
AerospikeExceptionif command fails
See Also

Reference