Perform multiple read/write operations on a single key in one batch call.
A record will be returned if there is a read in the operations list.
An example would be to add an integer value to an existing record and then
read the result, all in one database call.
Namespace: Aerospike.ClientWrite operations are always performed first, regardless of operation order relative to read operations.
Both scalar bin operations (Operation) and list bin operations (ListOperation) can be performed in same call.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.6.6.0 (3.6.6)
Syntax
Parameters
- policy
- Type: Aerospike.Client WritePolicy
write configuration parameters, pass in null for defaults
- key
- Type: Aerospike.Client Key
unique record identifier
- operations
- Type: Aerospike.Client Operation
database operations to perform
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if command fails |
See Also