Perform read/write operations on multiple keys. If a key is not found, the corresponding result
resultCode will be .
Requires server version 6.0+
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
BatchResults Operate( BatchPolicy batchPolicy, BatchWritePolicy writePolicy, Key[] keys, params Operation[] ops )
Parameters
- batchPolicy
- Type: Aerospike.ClientBatchPolicy
batch configuration parameters, pass in null for defaults - writePolicy
- Type: Aerospike.ClientBatchWritePolicy
write configuration parameters, pass in null for defaults - keys
- Type: Aerospike.ClientKey
array of unique record identifiers - ops
- Type: Aerospike.ClientOperation
database operations to perform
Return Value
Type: BatchResultsExceptions
Exception | Condition |
---|---|
AerospikeExceptionBatchRecordArray | which contains results for keys that did complete |
See Also