Class Path

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

public class Path extends org.postgresql.util.PGobject implements Serializable, Cloneable
This class defines the type path.
See Also:
  • Field Summary

    Fields inherited from class org.postgresql.util.PGobject

    type, value
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a set of the edges.
    int
    Returns the length of the edges.
    void
     
    Returns a set of the vertices.

    Methods inherited from class org.postgresql.util.PGobject

    clone, equals, equals, getType, getValue, hashCode, isNull, setType, toString

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Path

      public Path()
  • Method Details

    • setValue

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

      public Iterable<Vertex> vertices()
      Returns a set of the vertices.
      Returns:
      a set of the vertices.
    • edges

      public Iterable<Edge> edges()
      Returns a set of the edges.
      Returns:
      a set of the edges.
    • length

      public int length()
      Returns the length of the edges.
      Returns:
      the length of the edges