class RDFGraphNative extends AbstractRDFGraphSpark[Jena, RDD[Triple], RDFGraphNative]
A data structure that comprises a set of triples based on an RDD.
- Alphabetic
- By Inheritance
- RDFGraphNative
- AbstractRDFGraphSpark
- SparkGraphExtensions
- AbstractRDFGraph
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RDFGraphNative(triples: RDD[Triple])
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
cache(): RDFGraphNative.this.type
Persist the triples RDD with the default storage level (
MEMORY_ONLY).Persist the triples RDD with the default storage level (
MEMORY_ONLY).- Definition Classes
- RDFGraphNative → SparkGraphExtensions
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
difference(graph: RDFGraphNative): RDFGraphNative
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
- Definition Classes
- RDFGraphNative → AbstractRDFGraph
-
def
distinct(): RDFGraphNative
- Definition Classes
- RDFGraphNative → AbstractRDFGraph
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
find(triple: Triple): RDFGraphNative
- Definition Classes
- RDFGraphNative → AbstractRDFGraph
-
def
find(s: Option[Node] = None, p: Option[Node] = None, o: Option[Node] = None): RDFGraphNative
- Definition Classes
- RDFGraphNative → AbstractRDFGraph
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
intersection(graph: RDFGraphNative): RDFGraphNative
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
- Definition Classes
- RDFGraphNative → AbstractRDFGraph
-
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() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
size(): Long
- Definition Classes
- RDFGraphNative → AbstractRDFGraph
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toDataFrame(sparkSession: SparkSession, 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
- RDFGraphNative → SparkGraphExtensions
-
def
toRDD(): RDD[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
- RDFGraphNative → SparkGraphExtensions
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
triples: RDD[Triple]
- Definition Classes
- RDFGraphNative → AbstractRDFGraphSpark → AbstractRDFGraph
-
def
union(graph: RDFGraphNative): RDFGraphNative
- Definition Classes
- RDFGraphNative → AbstractRDFGraph
-
def
unionAll(graphs: Seq[RDFGraphNative]): RDFGraphNative
- Definition Classes
- RDFGraphNative → 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