Package se.liu.ida.hefquin.cli
Class MaterializeRDFViewOfLPG.MyCachingStreamRDF
java.lang.Object
se.liu.ida.hefquin.cli.MaterializeRDFViewOfLPG.MyCachingStreamRDF
- All Implemented Interfaces:
org.apache.jena.riot.system.StreamRDF
- Enclosing class:
- MaterializeRDFViewOfLPG
protected static class MaterializeRDFViewOfLPG.MyCachingStreamRDF
extends Object
implements org.apache.jena.riot.system.StreamRDF
Collects the emitted triples into a graph and writes this graph to the
given
OutputStream upon calling the finish() function.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.jena.riot.RDFFormatprotected final org.apache.jena.graph.Graphprotected final OutputStream -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
fmt
protected final org.apache.jena.riot.RDFFormat fmt -
out
-
graph
protected final org.apache.jena.graph.Graph graph
-
-
Constructor Details
-
MyCachingStreamRDF
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.apache.jena.riot.system.StreamRDF
-
triple
public void triple(org.apache.jena.graph.Triple t) - Specified by:
triplein interfaceorg.apache.jena.riot.system.StreamRDF
-
quad
public void quad(org.apache.jena.sparql.core.Quad q) - Specified by:
quadin interfaceorg.apache.jena.riot.system.StreamRDF
-
base
- Specified by:
basein interfaceorg.apache.jena.riot.system.StreamRDF
-
prefix
- Specified by:
prefixin interfaceorg.apache.jena.riot.system.StreamRDF
-
finish
public void finish()- Specified by:
finishin interfaceorg.apache.jena.riot.system.StreamRDF
-