Object/Class

com.datastax.bdp.graph.spark.graphframe.classic

ClassicDseGraphFrame

Related Docs: class ClassicDseGraphFrame | package classic

Permalink

object ClassicDseGraphFrame extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassicDseGraphFrame
  2. Serializable
  3. Serializable
  4. AnyRef
  5. 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 addAdjVertexIdColumns(df: DataFrame, dstColumn: Column, schema: SerializableSchema): DataFrame

    Permalink

    add: ~adjacent_vertex_id ~~adjacent_label_id

  5. def addEdgeLabelColumns(df: DataFrame, label: Column, direction: Direction, schema: SerializableSchema): DataFrame

    Permalink
  6. def addNaturalVertexIdColumns(df: DataFrame, label: String, schema: SerializableSchema, id: Column): DataFrame

    Permalink
  7. def adjVertexLabelUdf(schema: SerializableSchema): UserDefinedFunction

    Permalink

    UDF that extract dst vertex label

  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. lazy val edgeIdColumnNames: Seq[String]

    Permalink
  11. def edgeLabelNameColumn(schema: SerializableSchema): Column

    Permalink

    returns

    UDF that extract label name from the edgeLabelId

  12. def edgeLabelNameUdf(schema: SerializableSchema): UserDefinedFunction

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getSchemaFromServer(graphName: String, connector: CassandraConnector): SerializableSchema

    Permalink
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def idSqlSchema(props: Seq[Property]): StructType

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def naturalEdgeLabelUdf(direction: Direction, schema: SerializableSchema): UserDefinedFunction

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def sqlSchema(props: Seq[Property]): StructType

    Permalink

    get SQL schema for given properties

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

    Permalink
    Definition Classes
    AnyRef
  27. def syntheticAdjVertexIdColumn(schema: SerializableSchema): Column

    Permalink

    calculate dst column from ADJACENT_VERTEX_ID column.

    calculate dst column from ADJACENT_VERTEX_ID column. It should match focalVertexId format: label:base64(columnIds)

  28. def syntheticAdjVertexLabelUdf(schema: SerializableSchema): UserDefinedFunction

    Permalink

    UDF that extract dst vertex label

  29. def syntheticNonStandardIdUdf(idColumnContainer: ColumnContainer, rowWriter: RowWriter[Row]): UserDefinedFunction

    Permalink

    udf function for non standard id

  30. def syntheticStandardIdUdf: UserDefinedFunction

    Permalink

    idf function for standard id

  31. def syntheticVertexIdColumn(label: String, hasStandardId: Boolean, idSqlColumns: Seq[Column], idColumnContainer: ColumnContainer, rowWriter: RowWriter[Row]): Column

    Permalink
  32. def syntheticVertexIdColumn(label: String, schema: SerializableSchema, idSqlColumns: Seq[Column]): Column

    Permalink

    Vertex id has format vertexLabel:base64(idColumns)

  33. def toArrayVertexId(id: String, vertex: Vertex): Array[AnyRef]

    Permalink

    id

    in form "label:encode64(data)"

    vertex

    with column mapping

  34. def toExternalEdgeId(label: String, srcId: String, dstId: String, uuid: UUID, schema: SerializableSchema): Map[String, AnyRef]

    Permalink

    expected output will be: {~label=edge, ~out_vertex={~label=vertex, community_id=1888030080, member_id=0}, ~in_vertex={~label=custom, name=Name, array=1}, ~local_id=2f3671c0-96d0-11e6-9882-f74edf21f349}

  35. def toExternalVertexId(id: String, schema: SerializableSchema): AbstractVertexIdExternalImpl

    Permalink

    id

    String of vertex ID in the form "label:encode64(data)"

    schema

    Graph schema

    returns

    External ID object

  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. def vertexNonStandardIdUdf(vertex: Vertex): UserDefinedFunction

    Permalink

    restore vertex Id from the GraphFrame Vertex id

  38. def vertexStandardIdUdf: UserDefinedFunction

    Permalink

    restore vertex Id from the GraphFrame Vertex id

  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped