Class Edge
Represents an edge in DSE graph.
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cassandra.DataStax.Graph
Assembly: Cassandra.dll
Syntax
public class Edge : Element, IEdge, IElement, IEquatable<IElement>
Constructors
Edge(GraphNode, string, IDictionary<string, GraphNode>, GraphNode, string, GraphNode, string)
Creates a new instance of Edge.
Declaration
public Edge(GraphNode id, string label, IDictionary<string, GraphNode> properties, GraphNode inV, string inVLabel, GraphNode outV, string outVLabel)
Parameters
Type | Name | Description |
---|---|---|
GraphNode | id | |
string | label | |
IDictionary<string, GraphNode> | properties | |
GraphNode | inV | |
string | inVLabel | |
GraphNode | outV | |
string | outVLabel |
Properties
InV
Gets the incoming/head vertex.
Declaration
public GraphNode InV { get; }
Property Value
Type | Description |
---|---|
GraphNode |
InVLabel
Gets the label of the incoming/head vertex.
Declaration
public string InVLabel { get; }
Property Value
Type | Description |
---|---|
string |
OutV
Gets the outgoing/tail vertex.
Declaration
public GraphNode OutV { get; }
Property Value
Type | Description |
---|---|
GraphNode |
OutVLabel
Gets the label of the outgoing/tail vertex.
Declaration
public string OutVLabel { get; }
Property Value
Type | Description |
---|---|
string |
Implements
System.IEquatable<T>