Class GraphResultSet
Represents the result set containing the Graph nodes returned from a query.
Inheritance
object
GraphResultSet
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cassandra.DataStax.Graph
Assembly: Cassandra.dll
Syntax
public class GraphResultSet : IEnumerable<GraphNode>, IEnumerable
Constructors
GraphResultSet(RowSet)
Creates a new instance of GraphResultSet.
Declaration
public GraphResultSet(RowSet rs)
Parameters
Type | Name | Description |
---|---|---|
RowSet | rs |
Properties
GraphProtocol
Gets the graph protocol version that will be used when deserializing this result set. To manually set the protocol version, use SetGraphProtocolVersion(GraphProtocol) or SetGraphProtocolVersion(GraphProtocol).
Declaration
public GraphProtocol GraphProtocol { get; }
Property Value
Type | Description |
---|---|
GraphProtocol |
Info
Gets the execution information for the query execution.
Declaration
public ExecutionInfo Info { get; }
Property Value
Type | Description |
---|---|
ExecutionInfo |
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<GraphNode> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<GraphNode> |
To<T>()
Applies a conversion to each element of the sequence.
Declaration
public IEnumerable<T> To<T>()
Returns
Type | Description |
---|---|
IEnumerable<T> | An IEnumerable{T} that contains each element of the source sequence converted to the specified type. |
Type Parameters
Name | Description |
---|---|
T |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable