lib/aerospike/command/batch_index_exists_command.rb
def parse_row(result_code)
      batch_index = @data_buffer.read_int32(14)
      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

      parse_key(field_count)
      results[batch_index] = (result_code == 0)
    end
# Parse all results in the batch.  Add records to shared list.
# If the record was not found, the bins will be nil.
Parse all results in the batch.  Add records to shared list.
If the record was not found, the bins will be nil.
Parse all results in the batch . Add records to shared list . If the record was not found the bins will be nil .
def parse_row(result_code)
      batch_index = @data_buffer.read_int32(14)
      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
      parse_key(field_count)
      results[batch_index] = (result_code == 0)
    end
def parse_row ( result_code ) batch_index = @data_buffer . read_int32 ( 14 ) 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 parse_key ( field_count ) results [ batch_index ] = ( result_code == 0 ) end
Parse all results in the batch.
Parse all results in the batch .
result_code