Class List Method List File List

# Class: VertxSqlClient::RowIterator

Inherits:
  Object
  - Object
  - VertxSqlClient::RowIterator
  show all
Defined in:
  /Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-sql-client/row_iterator.rb

## Overview

An iterator for processing rows.

## Instance Method Summary (collapse)

- - (true, false) has_next?
- - (Object) next

## Instance Method Details

### - (`true`, `false`) has_next?

Returns:

- (`true`, `false`)

Raises:

- (`ArgumentError`)

    18
    19
    20
    21
    22
    23
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-sql-client/row_iterator.rb', line 18

    def has_next?
      if !block_given?
        return @j_del.java_method(:hasNext, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling has_next?()"
    end

### - (`Object`) next

Returns:

- (`Object`)

Raises:

- (`ArgumentError`)

    25
    26
    27
    28
    29
    30
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-sql-client/row_iterator.rb', line 25

    def next
      if !block_given?
        return @j_arg_R.wrap(@j_del.java_method(:next, []).call())
      end
      raise ArgumentError, "Invalid arguments when calling next()"
    end