| Modifier and Type | Method and Description |
|---|---|
void |
RDFParserBuilder.parse(StreamRDF stream)
Parse the source, sending the results to a
StreamRDF. |
void |
RDFParser.parse(StreamRDF destination)
Parse the source, sending the results to a
StreamRDF. |
static void |
RDFDataMgr.parse(StreamRDF sink,
InputStream in,
Lang lang)
Read RDF data.
|
static void |
RDFDataMgr.parse(StreamRDF sink,
InputStream in,
String base,
Lang hintLang)
Read RDF data.
|
static void |
RDFDataMgr.parse(StreamRDF sink,
InputStream in,
String base,
Lang hintLang,
Context context)
Deprecated.
To be removed. Use
RDFParser.source(in).base(base).lang(hintLang).context(context).parse(sink) |
static void |
RDFDataMgr.parse(StreamRDF sink,
Reader in,
Lang lang)
Deprecated.
To be removed. An
InputStream or StringReader is preferable. Use RDFParser.create().source(in).lang(hintLang).parse() |
static void |
RDFDataMgr.parse(StreamRDF sink,
Reader in,
String base,
Lang hintLang)
Deprecated.
To be removed. An
InputStream or StringReader is preferable. Use RDFParser.create().source(in).lang(hintLang).context(context).parse(sink) |
static void |
RDFDataMgr.parse(StreamRDF sink,
Reader in,
String base,
Lang hintLang,
Context context)
Deprecated.
To be removed. An
InputStream or StringReader is preferable. Use RDFParser.create().source(in).lang(hintLang).base(base).context(context).parse(sink) |
static void |
RDFDataMgr.parse(StreamRDF sink,
String uri)
Read RDF data.
|
static void |
RDFDataMgr.parse(StreamRDF sink,
String uri,
Lang lang)
Read RDF data.
|
static void |
RDFDataMgr.parse(StreamRDF sink,
String uri,
Lang hintLang,
Context context)
Deprecated.
To be removed. Use
RDFParser.source(uri).lang(hintLang).context(context).parse(sink) |
static void |
RDFDataMgr.parse(StreamRDF sink,
StringReader in,
Lang lang)
Deprecated.
To be removed. Use
RDFParser.create().source(in).lang(hintLang)... |
static void |
RDFDataMgr.parse(StreamRDF sink,
StringReader in,
String base,
Lang hintLang)
Deprecated.
To be removed. Use
RDFParser.create().source(in).base(base).lang(hintLang).parse(sink) |
static void |
RDFDataMgr.parse(StreamRDF sink,
StringReader in,
String base,
Lang hintLang,
Context context)
Deprecated.
To be removed. Use
RDFParser.create().source(in).base(base).lang(hintLang).context(context).pase(sink) |
static void |
RDFDataMgr.parse(StreamRDF sink,
String uri,
String base,
Lang hintLang)
Deprecated.
To be removed. Use
RDFParser.source(uri).base(base)... |
static void |
RDFDataMgr.parse(StreamRDF sink,
String uri,
String base,
Lang hintLang,
Context context)
Deprecated.
To be removed. Use
RDFParser.source(uri).lang(hintLang).base(base).context(context).parse(sink) |
static void |
RDFDataMgr.parse(StreamRDF sink,
TypedInputStream in)
Deprecated.
To be removed. Use an
InputStream and RDFParser.source(in).lang(hintLang).parse(sink) |
static void |
RDFDataMgr.parse(StreamRDF sink,
TypedInputStream in,
String base)
Deprecated.
To be removed. Use an
InputStream and RDFParser.source(in).base(base).lang(lang).parse(sink) |
static void |
RDFDataMgr.parse(StreamRDF sink,
TypedInputStream in,
String base,
Context context)
Deprecated.
To be removed. Use
RDFParser.source(in).lang(lang).base(base).context(context).parse(sink) |
void |
ReaderRIOTBase.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderRIOT.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context)
Read from an InputStream and output RDF on the StreamRDF.
|
abstract void |
ReaderRIOTBase.read(InputStream in,
String baseURI,
Lang lang,
StreamRDF output,
Context context) |
void |
ReaderRIOT.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context)
Read from an InputStream and output RDF on the StreamRDF.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
StreamRDFCounting
Provide counts of triples/quads/tuples
|
| Modifier and Type | Class and Description |
|---|---|
class |
CollectorStreamBase<T>
Base class for StreamRDF implementations which store received
Collection. |
class |
CollectorStreamQuads
Collector stream for quads.
|
class |
CollectorStreamRDF
StreamRDF implementations which store received triples and quads
in a
Collection. |
class |
CollectorStreamTriples
Collector stream for triples.
|
class |
PipedQuadsStream
Implementation of a producer class that sends Quads; must be connected to a
PipedRDFIterator<Quad>. |
class |
PipedRDFStream<T>
Abstract implementation of a producer class that implements
StreamRDF;
use one of the concrete implementations that match the RDF primitive you are using. |
class |
PipedTriplesStream
Implementation of a producer class that sends Triples; must be connected to a
PipedRDFIterator<Triple>. |
class |
PipedTuplesStream
Implementation of a producer class that sends @{code Tuple
PipedRDFIterator<Tuple<Node>. |
| Modifier and Type | Method and Description |
|---|---|
static Iterator<Quad> |
RiotParsers.createIteratorNQuads(InputStream input,
StreamRDF dest)
Create an iterator for parsing N-Quads.
|
static Iterator<Quad> |
RiotParsers.createIteratorNQuads(InputStream input,
StreamRDF dest,
ParserProfile profile)
Create an iterator for parsing N-Quads.
|
static Iterator<Triple> |
RiotParsers.createIteratorNTriples(InputStream input,
StreamRDF dest)
Create an iterator for parsing N-Triples.
|
static Iterator<Triple> |
RiotParsers.createIteratorNTriples(InputStream input,
StreamRDF dest,
ParserProfile profile)
Create an iterator for parsing N-Triples.
|
static LangRIOT |
RiotParsers.createParser(InputStream input,
Lang lang,
StreamRDF dest,
ParserProfile profile)
InputStream input
|
static LangRIOT |
RiotParsers.createParser(Reader input,
Lang lang,
StreamRDF dest,
ParserProfile profile)
Reader input
|
static LangNQuads |
RiotParsers.createParserNQuads(Tokenizer tokenizer,
StreamRDF dest,
ParserProfile profile) |
static LangNTriples |
RiotParsers.createParserNTriples(Tokenizer tokenizer,
StreamRDF dest,
ParserProfile profile) |
void |
ReaderRIOTRDFXML.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
JsonLDReader.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderTriX.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderRDFNULL.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderRIOTRDFXML.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
JsonLDReader.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderTriX.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderRDFNULL.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
| Constructor and Description |
|---|
LangNQuads(Tokenizer tokens,
ParserProfile profile,
StreamRDF dest) |
LangNTriples(Tokenizer tokens,
ParserProfile profile,
StreamRDF dest) |
LangRDFJSON(Tokenizer tokenizer,
ParserProfile profile,
StreamRDF dest) |
LangTriG(Tokenizer tokens,
ParserProfile profile,
StreamRDF dest) |
LangTurtle(Tokenizer tokens,
ParserProfile profile,
StreamRDF dest) |
| Modifier and Type | Method and Description |
|---|---|
void |
TurtleJavaccReaderRIOT.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
TurtleJavaccReaderRIOT.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
TurtleParserBase.setDest(StreamRDF stream) |
| Modifier and Type | Class and Description |
|---|---|
class |
BatchedStreamRDF
Batch a stream into triples and/or quads.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StreamRDFApplyObject |
| Constructor and Description |
|---|
StreamRDFApplyObject(StreamRDF other,
Function<Node,Node> function) |
| Modifier and Type | Class and Description |
|---|---|
class |
InferenceProcessorStreamRDF
Receive triples and quads (incoming because this is a StreamRDF);
allow RDFS; output to place provided.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamRDF |
InfFactory.inf(StreamRDF data,
InferenceSetupRDFS setup) |
static StreamRDF |
InfFactory.inf(StreamRDF data,
Model vocab) |
| Modifier and Type | Method and Description |
|---|---|
static StreamRDF |
InfFactory.inf(StreamRDF data,
InferenceSetupRDFS setup) |
static StreamRDF |
InfFactory.inf(StreamRDF data,
Model vocab) |
| Constructor and Description |
|---|
InferenceProcessorStreamRDF(StreamRDF output,
InferenceSetupRDFS rdfsSetup) |
| Modifier and Type | Class and Description |
|---|---|
class |
StreamCanonicalLangTag
StreamRDF that converts language tags to lower case o rto canokcal form (RFC 4646). |
class |
StreamCanonicalLiterals
Canonicalize literal lexcial forms (in the object position).
|
| Modifier and Type | Method and Description |
|---|---|
static StreamRDF |
StreamCanonicalLangTag.toCanonical(StreamRDF other)
Return a
StreamRDF that converts language tags to canonical form (RFC 4646, 5646). |
static StreamRDF |
StreamCanonicalLangTag.toLC(StreamRDF other)
Return a
StreamRDF that converts language tags to lower case |
| Modifier and Type | Method and Description |
|---|---|
static StreamRDF |
StreamCanonicalLangTag.toCanonical(StreamRDF other)
Return a
StreamRDF that converts language tags to canonical form (RFC 4646, 5646). |
static StreamRDF |
StreamCanonicalLangTag.toLC(StreamRDF other)
Return a
StreamRDF that converts language tags to lower case |
| Constructor and Description |
|---|
StreamCanonicalLiterals(StreamRDF other) |
| Modifier and Type | Class and Description |
|---|---|
class |
LoggingStreamRDF |
class |
PrintingStreamRDF
Primarily for debugging
|
class |
ProgressStreamRDF
Send ticks to a
ProgressMonitor as triples and quads
are sent along the StreamRDF. |
class |
StreamRDF2
Send to two stream
|
class |
StreamRDFBase |
class |
StreamRDFCollectOne
Take one item from a StreamRDF and present as a StreamRowRDF
|
class |
StreamRDFCountingBase
Wrap another StreamRDF and provide counts of items
|
class |
StreamRDFWrapper
A wrapper around another
StreamRDF |
| Modifier and Type | Method and Description |
|---|---|
StreamRDF |
StreamRDFWriterFactory.create(OutputStream output,
RDFFormat format) |
static StreamRDF |
StreamRDFLib.dataset(DatasetGraph dataset) |
static StreamRDF |
StreamRDFLib.extendTriplesToQuads(Node graphNode,
StreamRDF base)
Convert any triples seen to a quads, adding the specified graph node
|
static StreamRDF |
StreamRDFLib.extendTriplesToQuads(StreamRDF base)
Convert any triples seen to a quads, adding a graph node of
Quad.tripleInQuad |
static StreamRDF |
StreamRDFWriter.getWriterStream(OutputStream output,
Lang lang)
Get a StreamRDF destination that will output in syntax
Lang
and is guaranteed to do so in a scaling, streaming fashion. |
static StreamRDF |
StreamRDFWriter.getWriterStream(OutputStream output,
RDFFormat format)
Get a StreamRDF destination that will output in syntax
RDFFormat
and is guaranteed to do so in a scaling, streaming fashion. |
static StreamRDF |
StreamRDFLib.graph(Graph graph) |
static StreamRDF |
StreamRDFLib.sinkNull()
Send everything to nowhere ...
|
static StreamRDF |
StreamRDFLib.sinkQuads(org.apache.jena.atlas.lib.Sink<Quad> sink)
Output to a sink; prefix and base handled only within the parser.
|
static StreamRDF |
StreamRDFLib.sinkTriples(org.apache.jena.atlas.lib.Sink<Triple> sink)
Output to a sink; prefix and base handled only within the parser.
|
static StreamRDF |
StreamRDFLib.writer(org.apache.jena.atlas.io.AWriter out)
|
static StreamRDF |
StreamRDFLib.writer(org.apache.jena.atlas.io.AWriter out,
org.apache.jena.atlas.lib.CharSpace charSpace)
|
static StreamRDF |
StreamRDFLib.writer(OutputStream out)
Create a
StreamRDF that outputs to an OutputStream. |
static StreamRDF |
StreamRDFLib.writer(OutputStream out,
org.apache.jena.atlas.lib.CharSpace charSpace)
|
static StreamRDF |
StreamRDFLib.writer(Writer out)
|
static StreamRDF |
StreamRDFLib.writer(Writer out,
org.apache.jena.atlas.lib.CharSpace charSpace)
|
| Modifier and Type | Method and Description |
|---|---|
static StreamRDFCounting |
StreamRDFLib.count(StreamRDF other) |
static void |
StreamRDFOps.datasetToStream(DatasetGraph datasetGraph,
StreamRDF stream)
Send a dataset to a StreamRDF as prefixes, triples and quads, enclosed in stream.start()/stream.finish()
|
static StreamRDF |
StreamRDFLib.extendTriplesToQuads(Node graphNode,
StreamRDF base)
Convert any triples seen to a quads, adding the specified graph node
|
static StreamRDF |
StreamRDFLib.extendTriplesToQuads(StreamRDF base)
Convert any triples seen to a quads, adding a graph node of
Quad.tripleInQuad |
static void |
StreamRDFOps.graphToStream(Graph graph,
StreamRDF stream)
Send the triples of graph and it's prefix mapping to a StreamRDF, enclosed in stream.start()/stream.finish()
|
static void |
StreamRDFOps.sendDatasetToStream(DatasetGraph datasetGraph,
StreamRDF stream)
Send a dataset to a StreamRDF as prefixes, triples and quads
|
static void |
StreamRDFOps.sendDatasetToStream(DatasetGraph datasetGraph,
StreamRDF stream,
PrefixMap prefixMap)
Send a dataset to a StreamRDF as triples and quads, using the explicitly given prefix map
|
static void |
StreamRDFOps.sendGraphToStream(Graph graph,
StreamRDF stream)
Send the triples of graph and an explicitly given prefix mapping, to a StreamRDF
|
static void |
StreamRDFOps.sendGraphToStream(Graph graph,
StreamRDF stream,
PrefixMap prefixMap)
Send the triples of graph and an explicitly given prefix mapping, to a StreamRDF
|
static void |
StreamRDFOps.sendPrefixesToStream(PrefixMapping prefixMap,
StreamRDF stream) |
static void |
StreamRDFOps.sendPrefixesToStream(PrefixMap prefixMap,
StreamRDF stream)
Send a PrefixMap to a stream
|
static void |
StreamRDFOps.sendQuadsToStream(DatasetGraph datasetGraph,
StreamRDF stream)
Send quads of a dataset (including default graph as quads) to a StreamRDF, without prefixes
|
static void |
StreamRDFOps.sendQuadsToStream(Iterator<Quad> iter,
StreamRDF dest)
Set quads to a StreamRDF - does not call .start/.finish
|
static void |
StreamRDFOps.sendTriplesQuadsToStream(DatasetGraph datasetGraph,
StreamRDF stream)
Send a dataset graph to a stream with triples for the default graph
and quads for the named graphs without prefixes
|
static void |
StreamRDFOps.sendTriplesToStream(Graph graph,
StreamRDF stream)
Send the triples of graph to a StreamRDF (no prefix mapping)
|
static void |
StreamRDFOps.sendTriplesToStream(Iterator<Triple> iter,
StreamRDF dest)
Set triples to a StreamRDF - does not call .start/.finish
|
| Constructor and Description |
|---|
ProgressStreamRDF(StreamRDF other,
org.apache.jena.atlas.lib.ProgressMonitor monitor) |
StreamRDF2(StreamRDF sink1,
StreamRDF sink2) |
StreamRDFCountingBase(StreamRDF other) |
StreamRDFWrapper(StreamRDF other) |
| Modifier and Type | Class and Description |
|---|---|
class |
StreamRDF2Thrift
Encode StreamRDF in Thrift.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamRDF |
BinRDF.streamToFile(String filename)
Create an
StreamRDF for output. |
static StreamRDF |
BinRDF.streamToFile(String filename,
boolean withValues)
Create an
StreamRDF for output. |
static StreamRDF |
BinRDF.streamToOutputStream(OutputStream out)
Create an
StreamRDF for output. |
static StreamRDF |
BinRDF.streamToOutputStream(OutputStream out,
boolean withValues)
Create an
StreamRDF for output. |
static StreamRDF |
BinRDF.streamToTProtocol(org.apache.thrift.protocol.TProtocol protocol)
Create an
StreamRDF for output. |
static StreamRDF |
BinRDF.streamToTProtocol(org.apache.thrift.protocol.TProtocol protocol,
boolean withValues)
Create an
StreamRDF for output. |
| Modifier and Type | Method and Description |
|---|---|
static void |
BinRDF.fileToStream(String filename,
StreamRDF dest)
Decode the contents of the file and send to the
StreamRDF. |
static void |
BinRDF.inputStreamToStream(InputStream in,
StreamRDF dest)
Decode the contents of the input stream and send to the
StreamRDF. |
static void |
BinRDF.protocolToStream(org.apache.thrift.protocol.TProtocol protocol,
StreamRDF dest)
Decode the contents of the TProtocol and send to the
StreamRDF. |
| Constructor and Description |
|---|
Thrift2StreamRDF(PrefixMap pmap,
StreamRDF stream) |
| Modifier and Type | Class and Description |
|---|---|
class |
StreamWriterTriX
Write TriX by streaming.
|
class |
WriterStreamRDFBase
Core engine for output of triples / quads that is streaming.
|
class |
WriterStreamRDFBlocks
An output of triples / quads that print batches of same subject / same graph, same subject.
|
class |
WriterStreamRDFFlat
An output of triples / quads that is streaming.
|
class |
WriterStreamRDFPlain
An output of triples / quads that is streaming.
|
Licenced under the Apache License, Version 2.0