Class Path
Represents a walk through a graph as defined by a traversal.
Inheritance
object
Path
Implements
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 Path : IPath
Constructors
Path(ICollection<ICollection<string>>, ICollection<GraphNode>)
Creates a new instance of Path.
Declaration
public Path(ICollection<ICollection<string>> labels, ICollection<GraphNode> objects)
Parameters
Type | Name | Description |
---|---|---|
ICollection<ICollection<string>> | labels | The sets of labels of the steps traversed by this path. |
ICollection<GraphNode> | objects | The objects traversed by this path |
Properties
Labels
Returns the sets of labels of the steps traversed by this path, or an empty list, if this path is empty.
Declaration
public ICollection<ICollection<string>> Labels { get; protected set; }
Property Value
Type | Description |
---|---|
ICollection<ICollection<string>> |
Objects
Returns the objects traversed by this path, or an empty list, if this path is empty.
Declaration
public ICollection<GraphNode> Objects { get; protected set; }
Property Value
Type | Description |
---|---|
ICollection<GraphNode> |