Class: CassandraCQL::V08::Result
- Defined in:
- lib/cassandra-cql/0.8/result.rb
Instance Attribute Summary
Attributes inherited from Result
Instance Method Summary collapse
-
#initialize(result, column_family) ⇒ Result
constructor
A new instance of Result.
Methods inherited from Result
#fetch, #fetch_array, #fetch_hash, #fetch_row, #int?, #rows, #rows?, #void?
Constructor Details
#initialize(result, column_family) ⇒ Result
Returns a new instance of Result.
16 17 18 19 20 |
# File 'lib/cassandra-cql/0.8/result.rb', line 16 def initialize(result, column_family) @result = result @schema = ResultSchema.new(column_family) if rows? @cursor = 0 end |