You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm really trying to get this working with Titan. However, Titan needs quite a bit of config to start up, and I can't figure it out in gremlin scala. My basic startup script right now is:
object IcebergGraph {
var g: TitanGraph = null
def getTitanConf = {
val conf = new BaseConfiguration();
def getTitanConnection = {
if (g == null || !g.isOpen()) {
g = TitanFactory.open(getTitanConf);
}
g
}
}
But I can't use this connection with gremlin scala, I take it, that it must create a different type of instance with the graph. I've tried digging into the source, but I'm just not that good yet. Any help would be great, I'd love to write a blog post about this to help others get started with it. Thanks
The text was updated successfully, but these errors were encountered:
No worries. I'm aware the current documentation isn't the best.
If you want to write a blog post or contribute some examples it's best to use tinkerpop3, as that's the future.
I've started an examples project with neo4j, you could add a titan example...
Note that I haven't published a tinkerpop3 artifact yet, but you should be able to build it yourself following the instructions on the readme.md. Will publish some artifacts in the next days I hope.
Hey, I'm really trying to get this working with Titan. However, Titan needs quite a bit of config to start up, and I can't figure it out in gremlin scala. My basic startup script right now is:
object IcebergGraph {
var g: TitanGraph = null
def getTitanConf = {
val conf = new BaseConfiguration();
}
def getTitanConnection = {
if (g == null || !g.isOpen()) {
g = TitanFactory.open(getTitanConf);
}
g
}
}
But I can't use this connection with gremlin scala, I take it, that it must create a different type of instance with the graph. I've tried digging into the source, but I'm just not that good yet. Any help would be great, I'd love to write a blog post about this to help others get started with it. Thanks
The text was updated successfully, but these errors were encountered: