Package

net.sansa_stack.rdf.spark

io

Permalink

package io

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. io
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class CustomErrorHandler extends ErrorHandler

    Permalink

    A custom error handler that doesn't throw an exception on fatal parse errors.

    A custom error handler that doesn't throw an exception on fatal parse errors. This allows for simply skipping those triples instead of aborting the whole parse process.

  2. class JenaKryoRegistrator extends KryoRegistrator

    Permalink

    Created by nilesh on 01/06/2016.

  3. class ParquetTransformer extends AnyRef

    Permalink
  4. implicit class RDFDataFrameReader extends Logging

    Permalink

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

  5. implicit class RDFDataFrameWriter[T] extends AnyRef

    Permalink

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

  6. implicit class RDFReader extends AnyRef

    Permalink

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

  7. implicit class RDFWriter[T] extends AnyRef

    Permalink

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

  8. class SQLSchema extends AnyRef

    Permalink

    The SQL schema used for an RDF graph.

Value Members

  1. object ErrorParseMode extends Enumeration

    Permalink
  2. object NTripleReader

    Permalink

    An N-Triples reader.

    An N-Triples reader. One triple per line is assumed.

  3. object ParquetTransformer

    Permalink

    Takes an RDD[Triple] and serializes it as Parquet format to disk.

  4. object RDFLang extends Enumeration

    Permalink
  5. object SQLSchemaDefault extends SQLSchema

    Permalink
  6. object SaveMode extends Enumeration

    Permalink

    SaveMode is used to specify the expected behavior of saving an RDF dataset to a path.

  7. object WarningParseMode extends Enumeration

    Permalink
  8. package benchmark

    Permalink
  9. package index

    Permalink
  10. package nquads

    Permalink
  11. package ntriples

    Permalink
  12. package rdfxml

    Permalink
  13. package stream

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

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

  16. package turtle

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped