I wonder if GraphGlobalOperations.getAllNodes() and GraphGlobalOperations.getAllRelationships() would help?
There may be less accurate ways (statistically good enough for large graphs) using the ID generators. The kernel folks would know this.
Jim
Hi guys,
is there a simple way (Java or Cypher based) of getting the total
number of nodes and relationships in a Neo graph? Iterating is not an
option, something lightweight would be great in terms of
"template.getTotalNodes()"...
Other lightweight ways are not really exact they'll still report nodes as being there (or not) that are gone.
Michael
Jon,
What info for you need? Would be easy to use a plugin for that.
/peter
Send from mobile.
Jon,
What info for you need? Would be easy to use a plugin for that./peter
Send from mobile.
--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.