Class: Aerospike::BatchResults

Inherits:
Object
  • Object
show all
Defined in:
lib/aerospike/batch_results.rb

Overview

Batch record results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#recordsObject

Record results.



26
27
28
# File 'lib/aerospike/batch_results.rb', line 26

def records
  @records
end

#statusObject

Indicates if all records returned success.



29
30
31
# File 'lib/aerospike/batch_results.rb', line 29

def status
  @status
end

Instance Method Details

#intialize(records, status) ⇒ Object

Constructor.



32
33
34
35
# File 'lib/aerospike/batch_results.rb', line 32

def intialize(records, status)
  @records = records
  @status = status
end