Re: [orientdb] running a gremlin query in groovy using groovyc , code examples

2015-03-28 Thread W. Craig Trader
What you're missing is (1) initializing Gremlin, and (2) collecting results. To initialize Gremlin, your code needs to execute the following once (and preferably only once): import com.tinkerpop.gremlin.groovy.Gremlin Gremlin.load() Once you've done that, you can run your query. Right now

[orientdb] running a gremlin query in groovy using groovyc , code examples

2015-03-20 Thread sck2015
I am trying to find path traversals and explore them by increasing weight, I was able to do this in gremlin and was trying to replicate the code in groovy (using groovyc to compile a groovy file and integrate with my other java code)... Can someone point me to documentation or how to execute