Method: Aerospike::BatchRead#==

Defined in:
lib/aerospike/batch_read.rb

#==(other) ⇒ Object

Optimized reference equality check to determine batch wire protocol repeat flag. For internal use only.


69
70
71
72
73
# File 'lib/aerospike/batch_read.rb', line 69

def ==(other) # :nodoc:
  other && other.instance_of?(self.class) &&
    @bin_names&.sort == other.bin_names&.sort && @ops == other.ops &&
    @policy == other.policy && @read_all_bins == other.read_all_bins
end