Interface PgxGraph
public interface PgxGraph
A PGX graph.
-
Method Summary
Modifier and TypeMethodDescriptiongetEdges()Return a (lazy) set of edges that can be iterated over.longGet the number of edges in the graph.longGet the number of vertices in the graph.Get a random vertex from the graph.Return a (lazy) set of vertices that can be iterated over.
-
Method Details
-
getVertices
-
getEdges
-
getNumVertices
long getNumVertices()Get the number of vertices in the graph.- Returns:
-
getNumEdges
long getNumEdges()Get the number of edges in the graph.- Returns:
-
getRandomVertex
-