Created
August 5, 2014 14:03
-
-
Save okram/7cd6bcd6c54deb0cd398 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
| gremlin> g = TinkerFactory.createClassic() | |
| ==>tinkergraph[vertices:6 edges:6] | |
| gremlin> g.V.out.out.match('a', | |
| gremlin> g.of().as('b').out('created').as('a'), | |
| gremlin> g.of().as('a').in('knows').as('b')) | |
| The provided traversal set contains a cycle due to 'a' | |
| Display stack trace? [yN] | |
| gremlin> 1+2 | |
| gremlin> 1+2 | |
| groovysh_parse: 5: expecting ')', found '1' @ line 5, column 1. | |
| 1+2 | |
| ^ | |
| 1 error | |
| Display stack trace? [yN] | |
| gremlin> ) | |
| No signature of method: com.tinkerpop.gremlin.tinkergraph.process.graph.TinkerGraphTraversal.match() is applicable for argument types: (java.lang.String, com.tinkerpop.gremlin.tinkergraph.process.graph.TinkerTraversal, java.lang.Integer) values: [a, [StartStep@b, VertexStep(OUT)@a], 3] | |
| Possible solutions: max(), wait(), min(), any(), mean(), path([Lgroovy.lang.Closure;) | |
| Display stack trace? [yN] | |
| gremlin> :clear | |
| gremlin> 1+2 | |
| ==>3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment