首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Gremlin: Blazegraph遥控器

Gremlin: Blazegraph遥控器
EN

Stack Overflow用户
提问于 2016-09-20 13:53:53
回答 1查看 271关注 0票数 1

我正在尝试通过以下设置来启动和运行管道:

  • BlazeGraph2.1.1(远程)
  • 小叮当2(bigdata-蓝图2.0.0,BlazeGraph 1.0.0,bigdata-core 2.0.0)
  • 语言: Java

我已经能够使用蓝图API来创建和删除顶点和边。对于所有的图形操作,我想尽可能多地使用Tinkerpop。我无法找到用于以下方面的API:

  1. 通过ThreadedTransactionalGraph进行线程化的事务。
  2. 使用GremlinPipeline进行遍历。

我有以下问题:

  1. 关于远程版本的TP3何时可用,是否有时间表?
  2. 在不久的将来,是否有任何计划支持以下内容? a.蓝图ThreadedTransactionalGraph b. GremlinPipeline API
  3. 2a和2b的建议替代品有哪些?

我已经尝试了图形提供的getFeatures函数,它得到了以下列表:

代码语言:javascript
复制
supportsDuplicateEdges: true
supportsSelfLoops: true
supportsSerializableObjectProperty: false
supportsBooleanProperty: true
supportsDoubleProperty: true
supportsFloatProperty: true
supportsIntegerProperty: true
supportsPrimitiveArrayProperty: true
supportsUniformListProperty: true
supportsMixedListProperty: true
supportsLongProperty: true
supportsMapProperty: false
supportsStringProperty: true
ignoresSuppliedIds: false
isPersistent: true
isWrapper: false
supportsIndices: true
supportsVertexIndex: false
supportsEdgeIndex: false
supportsKeyIndices: true
supportsVertexKeyIndex: true
supportsEdgeKeyIndex: true
supportsEdgeIteration: true
supportsVertexIteration: true
supportsEdgeRetrieval: true
supportsVertexProperties: true
supportsEdgeProperties: true
supportsTransactions: false
supportsThreadedTransactions: false

我在这里主要担心的是,我不允许在使用远程Blazegraph查询时使用GremlinPipeline

我有一个运行在OrientDB上的现有API,我希望迁移到Blazegraph。我是否需要更改我所有的读物(Gremlin查询)才能使用Blazegraph,还是有一种方法可以将Tinkerpop 2与GremlinPipeline一起使用

EN

回答 1

Stack Overflow用户

发布于 2016-09-20 15:46:37

正如Jason指出的,关于Tinkerpop3,您应该看看插件。

然而,在我的评论中,我错了它支持线程事务。使用TP3的Blazegraph目前不支持ThreadedTranactions,但支持ConcurrentAccess和Tinkerpop事务。即使线程必须等待对方完成。

代码语言:javascript
复制
BlazeGraphEmbedded graph = BlazeGraphFactory.open("test.jnl");
graph.features();

返回:

代码语言:javascript
复制
FEATURES
GraphFeatures
-- Computer: false
-- Persistence: true
-- ConcurrentAccess: true
-- Transactions: true
-- ThreadedTransactions: false

关于Blazegraph、TP2或TP3上这种支持的状态,您应该向他们提出一个问题。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39596025

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档