Package

net.sansa_stack.rdf.spark.io

rdf

Permalink

package rdf

Wrap up implicit classes/methods to read/write RDF data from N-Triples or Turtle files into either DataFrame or RDD.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. rdf
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class RDFDataFrameReader extends Logging

    Permalink

    Adds methods, rdf, ntriples and turtle, to DataFrameReader that allows to read N-Triples and Turtle files.

  2. implicit class RDFDataFrameWriter[T] extends AnyRef

    Permalink

    Adds methods, ntriples and turtle, to DataFrameWriter that allows to write N-Triples files.

  3. implicit class RDFReader extends AnyRef

    Permalink

    Adds methods, rdf(lang: Lang), ntriples and turtle, to SparkContext that allows to read N-Triples and Turtle files.

  4. implicit class RDFWriter[T] extends AnyRef

    Permalink

    Adds methods, ntriples and turtle, to SparkContext that allows to write N-Triples and Turtle files.

Value Members

  1. object RDFLang extends Enumeration

    Permalink
  2. def toRow(nodes: Seq[Node]): Row

    Permalink

    Converts a list Jena Node objects to a Spark SQL Row.

    Converts a list Jena Node objects to a Spark SQL Row.

    nodes

    the nodes

    returns

    the row

  3. def toRow(triple: Triple): Row

    Permalink

    Converts a Jena Triple to a Spark SQL Row with three columns.

    Converts a Jena Triple to a Spark SQL Row with three columns.

    triple

    the triple

    returns

    the row

Inherited from AnyRef

Inherited from Any

Ungrouped