orientechnologies / orientdb-gremlin

TinkerPop3 Graph Structure Implementation for OrientDB
Apache License 2.0
92 stars 32 forks source link

gremlin traversalsource io step not supported #178

Open leiyucs opened 3 years ago

leiyucs commented 3 years ago

I am using orientdb-tp3 and tried to use g.io to import graphml to orientdb. However, it seems orientdb-gremlin does not have the method implemented for graph traversalsource to do that. According to the tinkerpop document

The use of Graph.io() has been deprecated to further remove dependence on the Graph (Structure) API for users and to extend these basic operations to GLV users by making these features available as part of the Gremlin language.

It is now possible to simply use Gremlin:

graph = ... g = graph.traversal() g.io(someInputFile).read().iterate() g.io(someOutputFile).write().iterate()