new BatchApplyPolicy( [props])
Initializes a new BatchApplyPolicy from the provided policy values.
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
props |
Object |
<optional> |
Policy values |
- Since:
-
- v5.0.0
- Source:
Members
-
commitLevel :number
-
Specifies the number of replicas required to be committed successfully when writing before returning transaction succeeded.
Type:
- number
- Source:
- See:
-
module:aerospike/policy.commitLevel
for supported policy values.
-
durableDelete :boolean
-
Specifies whether a tombstone should be written in place of a record that gets deleted as a result of this operation.
Type:
- boolean
- Default Value:
-
false
(do not tombstone deleted records)
- Source:
-
filterExpression
-
Optional expression filter. If filter exp exists and evaluates to false, the transaction is ignored. This can be used to eliminate a client/server roundtrip in some cases.
- Source:
-
key :number
-
Specifies the behavior for the key.
Type:
- number
- Source:
- See:
-
module:aerospike/policy.key
for supported policy values.
-
ttl :number
-
The time-to-live (expiration) of the record in seconds.
Type:
- number
- Source: