Package

org.opencypher.spark.api.io

edgelist

Permalink

package edgelist

Visibility
  1. Public
  2. All

Type Members

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

    Permalink

    A read-only data source that is able to read graphs from edge list files.

    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

Value Members

  1. object EdgeListDataSource extends Serializable

    Permalink

Ungrouped