class Dse::Graph::Result
An individual result of running a graph query. It wraps the JSON result and provides
access to it as a hash. It also supports casting the result into a known
domain object type: Vertex
, Edge
, and Path
currently.
Inherits
Object
Methods
value
Returns hash representation of the JSON result of a graph query if it’s a complex result. A simple value otherwise
cast
Coerce this result into a domain object if possible.
as_vertex
Coerce this result into a Vertex
object.
as_edge
Coerce this result into an Edge
object.
as_path
Coerce this result into a Path
object.