class Cassandra::DBApi::ResultSet

Defined in:

cassandra/dbapi/result_set.cr

Constant Summary

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

Constructors

Instance Method Summary

Constructor Detail

def self.new(session : Session, statement : RawStatement) #

[View source]

Instance Method Detail

def column_count : Int32 #
Description copied from class DB::ResultSet

Returns the number of columns in the result


[View source]
def column_name(i : Int32) : String #
Description copied from class DB::ResultSet

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


[View source]
def do_close #
Description copied from module DB::Disposable

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


[View source]
def move_next : Bool #
Description copied from class DB::ResultSet

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


[View source]
def read #
Description copied from class DB::ResultSet

Reads the next column value


[View source]