The BatchUDFPolicy type exposes the following members.
Desired consistency guarantee when committing a transaction on the server. The default (COMMIT_ALL) indicates that the server should wait for master and all replica commits to be successful before returning success to the client.
If the transaction results in a record deletion, leave a tombstone for the record. This prevents deleted records from reappearing after node failures. Valid for Aerospike Server Enterprise Edition only.
Default: false (do not tombstone deleted records).
Record expiration. Also known as ttl (time to live). Seconds record will live before being removed by the server.
Optional expression filter. If filterExp exists and evaluates to false, the specific batch key request is not performed and resultCode is set to FILTERED_OUT.
If exists, this filter overrides the batch parent filter for the specific key in batch commands that allow a different policy per key. Otherwise, this filter is ignored.
Send user defined key in addition to hash digest. If true, the key will be stored with the record on the server.
Default: false (do not send the user defined key)