Class Path
Represents a walk through a graph as defined by a traversal.
Implements
Inherited Members
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> |