class Cassandra::DBApi::ResultSet
- Cassandra::DBApi::ResultSet
- DB::ResultSet
- Reference
- Object
Defined in:
cassandra/dbapi/result_set.crConstant Summary
-
ITERATION_ERROR =
IteratorError.new("No more values in this row")
Constructors
Instance Method Summary
-
#column_count : Int32
Returns the number of columns in the result
-
#column_name(index : Int32) : String
Returns the name of the column in
index
0-based position. -
#do_close
Implementors overrides this method to perform resource cleanup If an exception is raised, the resource will not be marked as closed.
-
#move_next : Bool
Move the next row in the result.
-
#next_column_index : Int32
Returns the column index that corresponds to the next
#read
. -
#read
Reads the next column value
Constructor Detail
Instance Method Detail
Returns the number of columns in the result
Returns the name of the column in index
0-based position.
Implementors overrides this method to perform resource cleanup If an exception is raised, the resource will not be marked as closed.
Move the next row in the result.
Return false
if no more rows are available.
See #each
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
.