Per DSE docs, vertices and edges can be exported calling g.V().hasLabel("Person").write.json("/tmp/person_v_json") in dse spark.
Can the same be achieved using DseGraphFrame for the Java SDK? I want to make sure because I can't finda write() method.
In the Scala, the result returned by
g.V.hasLabel(DseGraphTraversal) could be explicitly converted intoDataFrameto which thewritefunction is applied.To achieve the same for Java, you can try to explicitly call
.dfon result, and then use.writeon it.