Packages

object RDFGraphLoader

A class that provides methods to load an RDF graph from disk.

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def loadFromDisk(session: SparkSession, path: URI, minPartitions: Int): RDFGraph

    Load an RDF graph from a single file or directory.

    Load an RDF graph from a single file or directory.

    session

    the Spark session

    path

    the path to the file or directory

    minPartitions

    min number of partitions for Hadoop RDDs (SparkContext.defaultMinPartitions)

    returns

    an RDF graph

  12. def loadFromDisk(session: SparkSession, paths: Seq[URI], minPartitions: Int): RDFGraph

    Load an RDF graph from multiple files or directories.

    Load an RDF graph from multiple files or directories.

    session

    the Spark session

    paths

    the files or directories

    minPartitions

    min number of partitions for Hadoop RDDs (SparkContext.defaultMinPartitions)

    returns

    an RDF graph

  13. def loadFromDisk(session: SparkSession, path: String, minPartitions: Int = 2): RDFGraph

    Load an RDF graph from a file or directory.

    Load an RDF graph from a file or directory. The path can also contain multiple paths and even wildcards, e.g. "/my/dir1,/my/paths/part-00[0-5]*,/another/dir,/a/specific/file"

    session

    the Spark session

    path

    the absolute path of the file

    minPartitions

    min number of partitions for Hadoop RDDs (SparkContext.defaultMinPartitions)

    returns

    an RDF graph

  14. def loadFromDiskAsDataFrame(session: SparkSession, path: String, minPartitions: Int = 4, sqlSchema: SQLSchema = SQLSchemaDefault): RDFGraphDataFrame

    Load an RDF graph from a file or directory with a Spark DataFrame as underlying datastructure.

    Load an RDF graph from a file or directory with a Spark DataFrame as underlying datastructure. The path can also contain multiple paths and even wildcards, e.g. "/my/dir1,/my/paths/part-00[0-5]*,/another/dir,/a/specific/file"

    session

    the Spark session

    path

    the absolute path of the file

    minPartitions

    min number of partitions for Hadoop RDDs (SparkContext.defaultMinPartitions)

    returns

    an RDF graph based on a org.apache.spark.sql.DataFrame

  15. def loadFromDiskAsDataset(session: SparkSession, paths: Seq[URI]): RDFGraphDataset

    Load an RDF graph from from from a file or directory with a Spark Dataset as underlying datastructure.

    Load an RDF graph from from from a file or directory with a Spark Dataset as underlying datastructure. The path can also contain multiple paths and even wildcards, e.g. "/my/dir1,/my/paths/part-00[0-5]*,/another/dir,/a/specific/file"

    session

    the Spark session

    paths

    the absolute path of the file

    returns

    an RDF graph based on a Dataset

  16. def loadFromDiskAsDataset(session: SparkSession, path: String): RDFGraphDataset

    Load an RDF graph from from multiple files or directories with a Spark Dataset as underlying datastructure.

    Load an RDF graph from from multiple files or directories with a Spark Dataset as underlying datastructure. The path can also contain multiple paths and even wildcards, e.g. "/my/dir1,/my/paths/part-00[0-5]*,/another/dir,/a/specific/file"

    session

    the Spark session

    path

    the absolute path of the file

    returns

    an RDF graph based on a Dataset

  17. def loadFromDiskAsRDD(session: SparkSession, path: String, minPartitions: Int): RDFGraphNative

    Load an RDF graph from a file or directory with a Spark RDD as underlying datastructure.

    Load an RDF graph from a file or directory with a Spark RDD as underlying datastructure. The path can also contain multiple paths and even wildcards, e.g. "/my/dir1,/my/paths/part-00[0-5]*,/another/dir,/a/specific/file"

    session

    the Spark session

    path

    the files

    minPartitions

    min number of partitions for Hadoop RDDs (SparkContext.defaultMinPartitions)

    returns

    an RDF graph

  18. def main(args: Array[String]): Unit
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped