com.datastax.bdp.graph
The root package of DSE GraphFrame support.
The root package of DSE GraphFrame support. Offers handy implicit conversions that add DSE-specific methods to SparkSession and GraphFrame.
Call dseGraph method on the SparkSession object to create a GraphFrame exposing DSE Graph as Spark GraphFrame.
Example:
import com.datastax.bdp.graph.spark.graphframe._ val graphName = "test" // Read graph and print vertices labels: val graph = spark.dseGraph(graphName) graph.V().select("label").distinct.show
The root package of DSE GraphFrame support. Offers handy implicit conversions that add DSE-specific methods to SparkSession and GraphFrame.
Call dseGraph method on the SparkSession object to create a GraphFrame exposing DSE Graph as Spark GraphFrame.
Example: