Skip to content

Instantly share code, notes, and snippets.

@spmallette
Created May 30, 2012 21:04
Show Gist options
  • Save spmallette/2838976 to your computer and use it in GitHub Desktop.
Save spmallette/2838976 to your computer and use it in GitHub Desktop.
\,,,/
(o o)
-----oOOo-(_)-oOOo-----
gremlin> g = TinkerGraphFactory.createTinkerGraph()
==>tinkergraph[vertices:6 edges:6]
gremlin> g.createKeyIndex("name", Vertex.class)
==>null
gremlin> g.getVertices("name", "marko")
==>v[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment