Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/298.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 用mogwai加载titan图形数据库_Python_Titan_Gremlin - Fatal编程技术网

Python 用mogwai加载titan图形数据库

Python 用mogwai加载titan图形数据库,python,titan,gremlin,Python,Titan,Gremlin,我试图开始学习Gremlin与titan db 0.5.4进行通信,因为我稍后将使用mogwai执行Gremlin查询,所以我认为最好同时学习这两个查询。但我在第一步就卡住了。我不知道如何加载神的图形 小精灵查询: gremlin>graph=TitanFactory.open('titan-berkeleydb-es.properties')) 当我阅读《莫格瓦伊》时,我发现这门课: 类mogwai.gremlin.base.GremlinMethod(路径=None,方法名称=None,类方

我试图开始学习Gremlin与titan db 0.5.4进行通信,因为我稍后将使用mogwai执行Gremlin查询,所以我认为最好同时学习这两个查询。但我在第一步就卡住了。我不知道如何加载神的图形

小精灵查询:

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

当我阅读《莫格瓦伊》时,我发现这门课:

类mogwai.gremlin.base.GremlinMethod(路径=None,方法名称=None,类方法=False,属性=False,默认值=None,事务=True,导入=None)

返回图形元素的Gremlin方法

配置方法(klass、属性名称、gremlin路径) 设置内部方法


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

看一下快速启动:

看一下快速启动:

还有显示GremlinMethods用法的其他示例还有显示GremlinMethods用法的其他示例