Package net.bitnine.agensgraph.graph
Class Path
java.lang.Object
org.postgresql.util.PGobject
net.bitnine.agensgraph.graph.Path
- All Implemented Interfaces:
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 -
Method Summary
Methods inherited from class org.postgresql.util.PGobject
clone, equals, equals, getType, getValue, hashCode, isNull, setType, toString
-
Constructor Details
-
Path
public Path()
-
-
Method Details
-
setValue
- Overrides:
setValuein classorg.postgresql.util.PGobject- Throws:
SQLException
-
vertices
Returns a set of the vertices.- Returns:
- a set of the vertices.
-
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
-