Created
July 31, 2012 16:33
-
-
Save okram/3218307 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g = new Neo4jGraph('/graph/neo4pedia2') | |
counter = 0; | |
for(final Vertex v : g.V()) { | |
v.toString() | |
for(Edge e: v.getEdges(BOTH)) { | |
e.toString() | |
} | |
if((counter++ % 500) == 0) { | |
println("vertices parsed: " + counter); | |
} | |
} | |
g.shutdown() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment