Is there any tool to convert data from hive or sql directly into a graphml file? How do you generate a graphml file?
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/57d1d27f-ab9e-4723-8f02-92c5e9b48abf%40googlegroups.com.
> Is there any tool to convert data from hive or sql directly into a graphml file? How do you generate a graphml file?I'm not aware of any conversion tool like that.> How do you generate a graphml file?You can generate one from a TinkerPop-enabled graph with io() step:g.io("graph.xml").write().iterate()If you're asking how to generate one from a relational database or other data source then you probably just have to write some code to generate an XML file according to the GraphML standard:
On Fri, Sep 20, 2019 at 9:11 AM 张国彬 <gbzha...@gmail.com> wrote:
Is there any tool to convert data from hive or sql directly into a graphml file? How do you generate a graphml file?--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremli...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/5e3058cc-9789-4dca-80a8-db9fe758953e%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/5e3058cc-9789-4dca-80a8-db9fe758953e%40googlegroups.com.
If you have a relational database that you want to convert to a graph you would typically just write a Gremlin script to do that conversion and then execute it Gremlin Console. The script approach will work fine for "medium" size graphs (i.e. millions of edges or low tens of millions of edges). As an example, consider the simple csv-to-graph example in the Getting Started tutorial:
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/5e3058cc-9789-4dca-80a8-db9fe758953e%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/bc6fec13-5e77-452f-a9ca-738aca851e53%40googlegroups.com.