【问题标题】:loading titan graph database with mogwai使用 mogwai 加载 Titan 图形数据库
【发布时间】:2016-05-15 17:23:47
【问题描述】:

我正在尝试开始学习 Gremlin 以与 Titan db 0.5.4 进行通信,并且由于稍后我将使用 mogwai 执行 gremlin 查询,所以我认为最好并排学习它们。但我坚持第一步。不知道怎么加载神图。

Gremlin 查询:

gremlin> 图 = TitanFactory.open('titan-berkeleydb-es.properties')

在阅读 mogwai docs 时,我发现了这门课:

类 mogwai.gremlin.base.GremlinMethod(path=None, method_name=None, classmethod=False, property=False, defaults=None, transaction=True, imports=None)

返回图形元素的 Gremlin 方法

configure_method(klass, attr_name, gremlin_path) 设置方法内部

我不确定这是否是正确的方法,如果是,我不确定如何传递参数。

【问题讨论】:

    标签: python titan gremlin


    【解决方案1】:
    猜你喜欢
    • 2017-10-17
    • 2016-09-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多