Class/Object

org.opencypher.spark.api.io.edgelist

EdgeListDataSource

Related Docs: object EdgeListDataSource | package edgelist

Permalink

case class EdgeListDataSource(path: String, options: Map[String, String] = Map.empty)(implicit session: CAPSSession) extends PropertyGraphDataSource with Product with Serializable

A read-only data source that is able to read graphs from edge list files. Input files are expected to contain one edge per row, e.g.

0 1 1 2

describes a graph with two edges (one from vertex 0 to 1 and one from vertex 1 to 2). The reader expects the file to not contain any comments.

The data source can be parameterized with options used by the underlying Spark Csv reader.

path

path to the edge list file

options

Spark Csv reader options

session

CAPS session

Linear Supertypes
Serializable, Serializable, Product, Equals, PropertyGraphDataSource, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EdgeListDataSource
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PropertyGraphDataSource
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EdgeListDataSource(path: String, options: Map[String, String] = Map.empty)(implicit session: CAPSSession)

    Permalink

    path

    path to the edge list file

    options

    Spark Csv reader options

    session

    CAPS session

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def delete(name: GraphName): Unit

    Permalink
    Definition Classes
    EdgeListDataSource → PropertyGraphDataSource
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def graph(name: GraphName): PropertyGraph

    Permalink
    Definition Classes
    EdgeListDataSource → PropertyGraphDataSource
  11. val graphNames: Set[GraphName]

    Permalink
    Definition Classes
    EdgeListDataSource → PropertyGraphDataSource
  12. def hasGraph(name: GraphName): Boolean

    Permalink
    Definition Classes
    EdgeListDataSource → PropertyGraphDataSource
  13. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. val options: Map[String, String]

    Permalink

    Spark Csv reader options

  18. val path: String

    Permalink

    path to the edge list file

  19. def schema(name: GraphName): Option[Schema]

    Permalink
    Definition Classes
    EdgeListDataSource → PropertyGraphDataSource
  20. def store(name: GraphName, graph: PropertyGraph): Unit

    Permalink
    Definition Classes
    EdgeListDataSource → PropertyGraphDataSource
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PropertyGraphDataSource

Inherited from AnyRef

Inherited from Any

Ungrouped