Package

org.opencypher.spark.api

io

Permalink

package io

Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractPropertyGraphDataSource extends CAPSPropertyGraphDataSource

    Permalink

    Abstract data source implementation that takes care of caching graph names and schemas.

    Abstract data source implementation that takes care of caching graph names and schemas.

    It automatically creates initializes a ScanGraphs an only requires the implementor to provider simpler methods for reading/writing files and tables.

  2. trait CAPSEntityTable extends EntityTable[DataFrameTable]

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

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

    Permalink
  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. 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.

  9. 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 GraphEntity

    Permalink
  4. object Relationship

    Permalink
  5. package edgelist

    Permalink
  6. package fs

    Permalink
  7. package json

    Permalink
  8. package metadata

    Permalink
  9. package neo4j

    Permalink
  10. package util

    Permalink

Ungrouped