Gremlin newbie question:
I have a titan dabatase using berkeleyje as back end. The database is generated by and used by a java-based application.
That's all fine, but I would like to be able to run arbitrary queries against the database, and from what I read, I understood Gremlin could do this.
So I have installed 'titan-1.00-hadoop1' separately from the application, and set up a simple config file in order to be able to run germlin against the db:
storage.backend=berkeleyje
storage.directory=/myapp/db
I seem to be able to connect OK
gremlin> g=TitanFactory.open('../conf/titan-berkeleyje.properties')
==>standardtitangraph[berkeleyje:/myapp/db]
But thereafter, whatever commands I run result in an error. For example:
gremlin> g.V.has('type','account').next()
No such property: V for class: com.thinkaurelius.titan.graphdb.database.StandardTitanGraph
Display stack trace? [yN]
Can somebody please point me in the right direction? Is there some detailed documentation for the Gremlin query syntax somewhere?
Thanks
Matthew