class

Cassandra::DBApi::ResultSet

Inherits DB::ResultSet / DB::Disposable / Reference / Object

Constants

ITERATION_ERROR = IteratorError.new("No more values in this row")

Constructors

new(session : Session, statement : RawStatement)
Source

Instance methods

column_count

Returns the number of columns in the result

Source
column_name(index : Int32) : String

Returns the name of the column in index 0-based position.

Source
do_close

Implementors overrides this method to perform resource cleanup If an exception is raised, the resource will not be marked as closed.

Source
move_next

Move the next row in the result. Return false if no more rows are available. See #each

Source
next_column_index

Returns the column index that corresponds to the next #read.

If the last column of the current row has been read, it must return #column_count.

Source
read

Reads the next column value

Source

Nested types