implicit class RDFReader extends AnyRef
Adds methods, rdf(lang: Lang), ntriples, nquads, and turtle, to ExecutionEnvironment that allows to read
N-Triples, N-Quads and Turtle files.
- Alphabetic
- By Inheritance
- RDFReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RDFReader(env: ExecutionEnvironment)
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()
-
def
nquads(allowBlankLines: Boolean = false): (String) ⇒ DataSet[Triple]
Load RDF data in N-Quads syntax into an DataSet[Triple], i.e.
Load RDF data in N-Quads syntax into an DataSet[Triple], i.e. the graph will be omitted.
- allowBlankLines
whether blank lines will be allowed and skipped during parsing
- returns
the DataSet of triples
-
def
ntriples(allowBlankLines: Boolean = false): (String) ⇒ DataSet[Triple]
Load RDF data in N-Triples syntax into an DataSet[Triple].
Load RDF data in N-Triples syntax into an DataSet[Triple].
- allowBlankLines
whether blank lines will be allowed and skipped during parsing
- returns
the DataSet of triples
-
def
rdf(lang: Lang.Value, allowBlankLines: Boolean = false): (String) ⇒ DataSet[Triple]
Load RDF data into an org.apache.flink.api.scala.DataSet[Triple].
Load RDF data into an org.apache.flink.api.scala.DataSet[Triple]. Currently, N-Triples, N-Quads and Turtle syntax are supported.
- lang
the RDF language (N-Triples, N-Quads, Turtle)
- returns
the DataSet
-
def
rdfxml: (String) ⇒ DataSet[Triple]
Load RDF data in RDF/XML syntax into an DataSet[Triple].
Load RDF data in RDF/XML syntax into an DataSet[Triple].
Note, the data will not be splitted and only loaded via a single task because of the nature of XML and how Spark can handle this format.
- returns
the DataSet of triples
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
turtle: (String) ⇒ DataSet[Triple]
Load RDF data in Turtle syntax into an DataSet[Triple]
Load RDF data in Turtle syntax into an DataSet[Triple]
- returns
the DataSet of triples
-
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()