Provides DSEGraph-specific methods on GraphFrame It support graphName is needed for some traversal steps and to write data back It can be lost during DseGraphFrame->GraphFrame->DseGraphFrame implicit conversions set graphName tot he target graph if needed.
Helper class to create GraphFrame from C* backend.
Helper class to create GraphFrame from C* backend. The GraphFrame caches dataframes on creation. It is recommended to call withVertex method to create subgraph prior graph frame creation to reduce memory footprint
Usage: val dataFrame = DseGraphFrameBuilder("graph", spark).dseGraph()
wrap vertex data frame to implement TinkerPop functions
should be used to implement optimization for DseGraphTraversal
should be used to implement optimization for DseGraphTraversal
if isDefinedAt(traversal: DseGraphTraversal[_]) methods returns true apply() methods return result DataFrame. It will be used as result instead of standard DseGraphTraversal enumerates internal list of interceptors. TODO: provide user faced extension mechanism
Provides DSE-specific methods on SparkSession
Internal class to build table for one class of vertex
Usage: val dataFrame = DseGraphFrameBuilder("graph", spark).dataFrame()
add all DataFrame functions to DseGraphTraversal
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.
Call GraphFrameFunctions
saveToDse
function on anyGraphFrame
to save updated graph back to DSE.Example: