2016-09-20 4 views
1

私は、次のセットアップを実行しているパイプラインを取得しようとしています:グレムリン:Blazegraphリモート

  • Blazegraph 2.1.1(リモート)
  • Tinkerpop 2(bigdata-青写真2.0.0、BlazeGraph-グレムリン1.0.0、bigdataコア2.0.0)
  • 言語:ジャワ

Iは、頂点と辺を作成および削除するための青写真APIを使用することができました。私はすべてのグラフ操作のためにできるだけTinkerpopに固執したいと思います。 ThreadedTransactionalGraph経由

  1. スレッド取引:私はのためのAPIを見つけることができませんでした。
  2. トラバーサルを使用してGremlinPipeline

    1. TP3がBlazegraphのリモートバージョンが利用できるようになるためにするときにタイムラインがあります:私は、次の質問を持っている

  3. 近い将来、次のものをサポートする予定はありますか?

    a。青写真ThreadedTransactionalGraph

    b。 GremlinPipeline API

  4. 2aと2bの代替候補は何ですか?


私はグラフが提供され、それは次のリストを取得していますgetFeatures機能を試してみました:ここ

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 

私の主な関心事は、クエリを実行しながら、私はGremlinPipelineで動作するように許可されておりませんということですBlazegraphでリモートで。

私はOrientDB上で実行されている既存のAPIを持っており、私はBlazegraphに移行したいと思います。 Blazegraphを使用するために私の読んだもの(Gremlinの質問)をすべて変更しなければならないのですか、それともGremlinPipelineと一緒にTinkerpop 2を使う方法はありますか?

+1

私はBlazegraphを使用していませんが、これはあなたが探しているものではありませんか? https://github.com/blazegraph/tinkerpop3 –

+1

Jasonが指摘したように、blazegraph用の[gremlin](https://github.com/blazegraph/tinkerpop3)プラグインを探していると思います。私はそれを使用して、それがスレッドトランザクションをサポートしていることを確認できます。 –

+0

あなたはそれを答えとして追加する必要があります@FilipeTeixeira :) –

答えて

1

JasonがTinkerpop 3に関して指摘したように、thisプラグインを見てください。

しかし、私のコメントではスレッド化されたトランザクションをサポートするのは間違っていました。 TP3を使用しているBlazegraphは現時点ではThreadedTranactionsをサポートしていませんが、ConcurrentAccessとTinkerpop Transactionsをサポートしています。スレッドはお互いが完了するのを待たなくてはいけません。

BlazeGraphEmbedded graph = BlazeGraphFactory.open("test.jnl"); 
graph.features(); 

リターン:あなたがそれらの問題を提起する必要がありBlazegraph TP2またはTP3にこのサポートの状況につきましては

FEATURES 
GraphFeatures 
-- Computer: false 
-- Persistence: true 
-- ConcurrentAccess: true 
-- Transactions: true 
-- ThreadedTransactions: false 

関連する問題