lib/aerospike/command/batch_direct_exists_command.rb
def parse_row(result_code)
      field_count = @data_buffer.read_int16(18)
      op_count = @data_buffer.read_int16(20)

      if op_count > 0
        raise Aerospike::Exceptions::Parse.new('Received bins that were not requested!')
      end

      key = parse_key(field_count)
      item = key_map[key.digest]

      if item
        index = item.index
        results[index] = (result_code == 0)
      else
        Aerospike::logger.debug("Unexpected batch key returned: #{key.namespace}, #{key.digest}")
      end
    end
def parse_row(result_code)
      field_count = @data_buffer.read_int16(18)
      op_count = @data_buffer.read_int16(20)

      if op_count > 0
        raise Aerospike::Exceptions::Parse.new('Received bins that were not requested!')
      end

      key = parse_key(field_count)
      item = key_map[key.digest]

      if item
        index = item.index
        results[index] = (result_code == 0)
      else
        Aerospike::logger.debug("Unexpected batch key returned: #{key.namespace}, #{key.digest}")
      end
    end
:nodoc:
 Parse all results in the batch.  Add records to shared list.
 If the record was not found, the bins will be nil.