Package

org.opencypher.spark.api

io

Permalink

package io

Visibility
  1. Public
  2. All

Type Members

  1. trait CAPSEntityTable extends EntityTable[SparkTable]

    Permalink
  2. case class CAPSNodeTable(mapping: NodeMapping, table: SparkTable) extends NodeTable[SparkTable] with CAPSEntityTable with Product with Serializable

    Permalink
  3. case class CAPSRelationshipTable(mapping: RelationshipMapping, table: SparkTable) extends RelationshipTable[SparkTable] with CAPSEntityTable with Product with Serializable

    Permalink
  4. sealed trait EntityTable[T <: CypherTable[String]] extends AnyRef

    Permalink

    An entity table describes how to map an input data frame to a Cypher entity (i.e.

    An entity table describes how to map an input data frame to a Cypher entity (i.e. nodes or relationships).

  5. sealed trait GraphEntity extends Product

    Permalink
  6. case class Labels(labels: String*) extends Annotation with StaticAnnotation with Product with Serializable

    Permalink

    Annotation to use when mapping a case class to a node with more than one label, or a label different to the class name.

    Annotation to use when mapping a case class to a node with more than one label, or a label different to the class name.

    @ Labels("Person", "Employee")
    case class Employee(id: Long, name: String, salary: Double)
    labels

    the labels that the node has.

  7. trait Node extends GraphEntity

    Permalink

    If a node has no label annotation, then the class name is used as its label.

    If a node has no label annotation, then the class name is used as its label. If a Labels annotation, for example @Labels("Person", "Mammal"), is present, then the labels from that annotation are used instead.

  8. abstract class NodeTable[T <: CypherTable[String]] extends EntityTable[T]

    Permalink

    A node table describes how to map an input data frame to a Cypher node.

    A node table describes how to map an input data frame to a Cypher node.

    A node table needs to have the canonical column ordering specified by EntityMapping#allSourceKeys. The easiest way to transform the table to a canonical column ordering is to use one of the constructors on the companion object.

    Column names prefixed with property# are decoded by org.opencypher.spark.api.io.util.StringEncodingUtilities to recover the original property name.

  9. trait Relationship extends GraphEntity

    Permalink

    If a relationship has no type annotation, then the class name in all caps is used as its type.

    If a relationship has no type annotation, then the class name in all caps is used as its type. If a Type annotation, for example @RelationshipType("FRIEND_OF") is present, then the type from that annotation is used instead.

  10. abstract class RelationshipTable[T <: CypherTable[String]] extends EntityTable[T]

    Permalink

    A relationship table describes how to map an input data frame to a Cypher relationship.

    A relationship table describes how to map an input data frame to a Cypher relationship.

    A relationship table needs to have the canonical column ordering specified by EntityMapping#allSourceKeys. The easiest way to transform the table to a canonical column ordering is to use one of the constructors on the companion object.

  11. case class RelationshipType(relType: String) extends Annotation with StaticAnnotation with Product with Serializable

    Permalink

    Annotation to use when mapping a case class to a relationship with a different relationship type to the class name.

    Annotation to use when mapping a case class to a relationship with a different relationship type to the class name.

    @ RelationshipType("FRIEND_OF")
    case class Friend(id: Long, src: Long, dst: Long, since: Int)
    relType

    the relationship type that the relationship has.

Value Members

  1. object CAPSNodeTable extends Serializable

    Permalink
  2. object CAPSRelationshipTable extends Serializable

    Permalink
  3. object EntityTable

    Permalink
  4. object GraphEntity

    Permalink
  5. object Relationship

    Permalink
  6. package csv

    Permalink
  7. package edgelist

    Permalink
  8. package fs

    Permalink
  9. package json

    Permalink
  10. package metadata

    Permalink
  11. package neo4j

    Permalink
  12. package util

    Permalink

Ungrouped