abstract class AbstractRDFGraph[Rdf <: RDF, D, G <: AbstractRDFGraph[Rdf, D, G]] extends AnyRef
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
- Alphabetic
- By Inheritance
- AbstractRDFGraph
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AbstractRDFGraph(triples: D)
Abstract Value Members
-
abstract
def
difference(graph: G): G
Returns a new RDF graph that contains the difference between the current RDF graph and the given RDF graph.
Returns a new RDF graph that contains the difference between the current RDF graph and the given RDF graph.
- graph
the other RDF graph
- returns
the difference of both RDF graphs
-
abstract
def
distinct(): G
Returns a new RDF graph that does not contain duplicate triples.
-
abstract
def
find(triple: Rdf.Triple): G
Returns a new RDF graph that contains only triples matching the given input.
Returns a new RDF graph that contains only triples matching the given input.
- returns
a new RDF graph
-
abstract
def
find(s: Option[Rdf.Node] = None, p: Option[Rdf.Node] = None, o: Option[Rdf.Node] = None): G
Returns a new RDF graph that contains only triples matching the given input.
Returns a new RDF graph that contains only triples matching the given input.
- s
the subject
- p
the predicate
- o
the object
- returns
a new RDF graph
-
abstract
def
intersection(graph: G): G
Returns a new RDF graph that contains the intersection of the current RDF graph with the given RDF graph.
Returns a new RDF graph that contains the intersection of the current RDF graph with the given RDF graph.
- graph
the other RDF graph
- returns
the intersection of both RDF graphs
-
abstract
def
size(): Long
Return the number of triples in the RDF graph.
Return the number of triples in the RDF graph.
- returns
the number of triples in the RDF graph
-
abstract
def
union(graph: G): G
Returns a new RDF graph that contains the union of the current RDF graph with the given RDF graph.
Returns a new RDF graph that contains the union of the current RDF graph with the given RDF graph.
- graph
the other RDF graph
- returns
the union of both RDF graphs
-
abstract
def
unionAll(graphs: Seq[G]): G
Returns a new RDF graph that contains the union of the current RDF graph with the given RDF graphs.
Returns a new RDF graph that contains the union of the current RDF graph with the given RDF graphs.
- graphs
the other RDF graphs
- returns
the union of all RDF graphs
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()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val triples: D
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()