Method: Aerospike::BatchIndexNode#initialize

Defined in:
lib/aerospike/command/batch_index_node.rb

#initialize(node, keys_with_idx) ⇒ BatchIndexNode

Returns a new instance of BatchIndexNode.

[View source]

30
31
32
33
# File 'lib/aerospike/command/batch_index_node.rb', line 30

def initialize(node, keys_with_idx)
  @node = node
  @keys_by_idx = keys_with_idx.map(&:reverse).to_h
end