Class Edge

java.lang.Object
org.postgresql.util.PGobject
net.bitnine.agensgraph.graph.GraphEntity
net.bitnine.agensgraph.graph.Edge
All Implemented Interfaces:
Serializable, Cloneable, JsonbObject

public class Edge extends GraphEntity
This class defines the type edge.
See Also:
  • Constructor Details

    • Edge

      public Edge()
  • Method Details

    • setValue

      public void setValue(String value) throws SQLException
      Overrides:
      setValue in class org.postgresql.util.PGobject
      Throws:
      SQLException
    • getEdgeId

      public GraphId getEdgeId()
      Returns id of the edge.
      Returns:
      id of the edge
    • getStartVertexId

      public GraphId getStartVertexId()
      Returns id of the start vertex.
      Returns:
      id of the start vertex
    • getEndVertexId

      public GraphId getEndVertexId()
      Returns id of the end vertex.
      Returns:
      id of the end vertex