AerospikeClient.Operate(BatchPolicy, BatchWritePolicy, Key[], Operation[]) Method
Perform read/write operations on multiple keys. If a key is not found, the corresponding result
resultCode will be
KEY_NOT_FOUND_ERROR.
Requires server version 6.0+
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public BatchResults Operate(
BatchPolicy batchPolicy,
BatchWritePolicy writePolicy,
Key[] keys,
params Operation[] ops
)
- batchPolicy BatchPolicy
- batch configuration parameters, pass in null for defaults
- writePolicy BatchWritePolicy
- write configuration parameters, pass in null for defaults
- keys Key[]
- array of unique record identifiers
- ops Operation[]
-
read/write operations to perform. Get() is not allowed because it returns a
variable number of bins and makes it difficult (sometimes impossible) to lineup operations with
results. Instead, use Get(String) for each bin name.
BatchResultsIAerospikeClient.Operate(BatchPolicy, BatchWritePolicy, Key[], Operation[])