Class BatchWritePolicy

A policy affecting the behavior of batch write commands.

v5.0.0

Hierarchy (view full)

Constructors

Properties

commitLevel?: commitLevel

Specifies the number of replicas required to be committed successfully when writing before returning command succeeded.

policy.commitLevel for supported policy values.

durableDelete?: boolean

Specifies whether a http://www.aerospike.com/docs/guide/durable_deletes.html|tombstone should be written in place of a record that gets deleted as a result of this command.

<code>false</code> (do not tombstone deleted records)
exists?: exists

Specifies the behavior for the existence of the record.

policy.exists for supported policy values.

filterExpression?: AerospikeExp

Optional expression filter. If filter exp exists and evaluates to false, the command is ignored. This can be used to eliminate a client/server roundtrip in some cases.

gen?: gen

Specifies the behavior for the generation value.

policy.gen for supported policy values.

key?: key

Specifies the behavior for the key.

policy.key for supported policy values.

ttl?: number

The time-to-live (expiration) of the record in seconds.

MMNEPVFCICPMFPCPTTAAATR