class Aerospike::BatchDelete

Batch delete operation.

Constants

DEFAULT_BATCH_DELETE_POLICY

Attributes

policy[RW]

Optional delete policy.

Public Class Methods

new(key, opt = {}) click to toggle source

Initialize policy and key.

Calls superclass method
# File lib/aerospike/batch_delete.rb, line 25
def initialize(key, opt = {})
  super(key, has_write: true)
  @policy = BatchRecord.create_policy(opt, BatchDeletePolicy, DEFAULT_BATCH_DELETE_POLICY)
end