Package net.bitnine.agensgraph.graph
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
This class defines the type edge.
- See Also:
-
Field Summary
Fields inherited from class org.postgresql.util.PGobject
type, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns id of the edge.Returns id of the end vertex.Returns id of the start vertex.voidMethods inherited from class net.bitnine.agensgraph.graph.GraphEntity
containsKey, getArray, getBoolean, getBoolean, getDouble, getDouble, getGraphId, getInt, getInt, getKeys, getLabel, getLong, getLong, getObject, getProperties, getString, getString, isNullMethods inherited from class org.postgresql.util.PGobject
clone, equals, equals, getType, getValue, hashCode, isNull, setType, toString
-
Constructor Details
-
Edge
public Edge()
-
-
Method Details
-
setValue
- Overrides:
setValuein classorg.postgresql.util.PGobject- Throws:
SQLException
-
getEdgeId
Returns id of the edge.- Returns:
- id of the edge
-
getStartVertexId
Returns id of the start vertex.- Returns:
- id of the start vertex
-
getEndVertexId
Returns id of the end vertex.- Returns:
- id of the end vertex
-