Collection of results of running a graph query. It wraps a Cassandra::Result. When iterating over results, individual results may be well-known domain objects or a generic Result.

See Also:

Inherits

Object

Extends

  • Forwardable

Includes

  • Enumerable

Methods

execution_info

Query execution information, such as number of retries and all tried hosts, etc.

Returns:
Type Details
Cassandra::Execution::Info

empty?

Returns whether it has any result data

Returns:
Type Details
Boolean whether it has any result data

size

aliased as: length

Returns number of results

Returns:
Type Details
Integer number of results

each

{|result| … }

Returns Enumerator if no block given

Yield Parameters:
Name Type Details
result (Vertex, Edge, Path or Result) result object for a particular result
Returns:
Type Details
(Enumerator or self) returns Enumerator if no block given

[]

(ind)

Allow array indexing into the result-set.

Parameters:
Name Type Details
ind Integer index into the collection of query results.