abstract class AbstractRDFGraphSpark[Rdf <: RDF, D, G <: AbstractRDFGraphSpark[Rdf, D, G]] extends AbstractRDFGraph[Rdf, D, G] with SparkGraphExtensions[Rdf, D, G]
A data structure that comprises a collection of triples. Note, due to the implementation of the Spark
datastructures, this doesn't necessarily mean to be free of duplicates which is why a distinct operation
is provided.
- Self Type
- G
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AbstractRDFGraphSpark
- SparkGraphExtensions
- AbstractRDFGraph
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AbstractRDFGraphSpark(triples: D)
Abstract Value Members
-
abstract
def
cache(): G
Persist the triples RDD with the default storage level (
MEMORY_ONLY).Persist the triples RDD with the default storage level (
MEMORY_ONLY).- Definition Classes
- SparkGraphExtensions
-
abstract
def
difference(graph: G): G
- Definition Classes
- AbstractRDFGraph
-
abstract
def
distinct(): G
- Definition Classes
- AbstractRDFGraph
-
abstract
def
find(triple: Rdf.Triple): G
- Definition Classes
- AbstractRDFGraph
-
abstract
def
find(s: Option[Rdf.Node], p: Option[Rdf.Node], o: Option[Rdf.Node]): G
- Definition Classes
- AbstractRDFGraph
-
abstract
def
intersection(graph: G): G
- Definition Classes
- AbstractRDFGraph
-
abstract
def
size(): Long
- Definition Classes
- AbstractRDFGraph
-
abstract
def
toDataFrame(sparkSession: SparkSession = null, schema: SQLSchema = SQLSchemaDefault): DataFrame
Convert the current graph to a Dataframe of RDF triples.
Convert the current graph to a Dataframe of RDF triples.
- sparkSession
the Spark session
- schema
the SQL schema
- returns
a Dataframe of RDF triples
- Definition Classes
- SparkGraphExtensions
-
abstract
def
toRDD(): RDD[Rdf.Triple]
Convert the current graph to an RDD of RDF triples.
Convert the current graph to an RDD of RDF triples.
- returns
RDD of RDF triples
- Definition Classes
- SparkGraphExtensions
-
abstract
def
union(graph: G): G
- Definition Classes
- AbstractRDFGraph
-
abstract
def
unionAll(graphs: Seq[G]): G
- Definition Classes
- AbstractRDFGraph
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
triples: D
- Definition Classes
- AbstractRDFGraphSpark → AbstractRDFGraph
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.