Object/Class

com.datastax.bdp.graph.spark.graphframe

DseGraphFrameBuilder

Related Docs: class DseGraphFrameBuilder | package graphframe

Permalink

object DseGraphFrameBuilder

Usage: val dataFrame = DseGraphFrameBuilder("graph", spark).dataFrame()

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DseGraphFrameBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(graphName: String, spark: SparkSession, graphOptions: Map[String, String] = Map.empty): DseGraphFrameBuilder

    Permalink

    Construct initial DseGraphFrame

    Construct initial DseGraphFrame

    spark

    Spark session

    graphOptions

    Optional Spark Cassandra Connector options

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dseGraph(graphName: String, graphFrame: GraphFrame): DseGraphFrame

    Permalink

    Should be used to convert graph frame to DseGraphFrame scala implicit conversion equivalent will be: graphFrame.graphName(graphName)

  8. def dseGraph(graphName: String, vertices: DataFrame, edges: DataFrame): DseGraphFrame

    Permalink

    Should be used to restore graph frame from external source make sure ID fields was not changed or corrupted

    Should be used to restore graph frame from external source make sure ID fields was not changed or corrupted

    graphName

    graph to apply schema

    vertices

    DataFrame

    edges

    DataFrame

    returns

    DseGraphFrame that could be traversed or saved to DSE

  9. def dseGraph(graphName: String, spark: SparkSession, options: Map[String, String]): DseGraphFrame

    Permalink

    Create graph frame with additional options

  10. def dseGraph(graphName: String, spark: SparkSession, options: Map[String, String]): DseGraphFrame

    Permalink

    GraphFrame creation Java API

  11. def dseGraph(graphName: String, spark: SparkSession): DseGraphFrame

    Permalink

    GraphFrame creation Java API

    GraphFrame creation Java API

    returns

    GraphFrame

  12. def dseGraphs(cluster: DseCluster): List[String]

    Permalink
  13. def dseGraphs(spark: SparkSession): List[String]

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def jWithDataStoreDo[T](conf: SparkConf, code: Function[ExternalDataStore, T]): T

    Permalink
  21. def jWithDataStoreDo[T](spark: SparkSession, code: Function[ExternalDataStore, T]): T

    Permalink
  22. def keyspace(graphName: String, conf: SparkConf): GraphKeyspace

    Permalink
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def schema(spark: SparkSession): Schema

    Permalink
  27. def schema(conf: SparkConf): Schema

    Permalink
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withDataStoreDo[T](spark: SparkSession)(code: (ExternalDataStore) ⇒ T): T

    Permalink
  34. def withDataStoreDo[T](conf: SparkConf)(code: (ExternalDataStore) ⇒ T): T

    Permalink

    Allows to use ExternalDataStore in a safe way without risk of forgetting to close the underling cluster and connection

Inherited from AnyRef

Inherited from Any

Ungrouped