java.lang.Object
org.apache.jena.sparql.modify.request.QuadAccSink
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable
,TripleCollector
- Direct Known Subclasses:
QuadAcc
,QuadDataAccSink
public class QuadAccSink
extends Object
implements TripleCollector, org.apache.jena.atlas.lib.Closeable
Accumulate quads into a Sink (including allowing variables) during parsing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addTriple
(org.apache.jena.graph.Triple triple) void
addTriplePath
(TriplePath tPath) void
close()
org.apache.jena.graph.Node
getGraph()
void
setGraph
(org.apache.jena.graph.Node n) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.sparql.syntax.TripleCollector
addTriple, addTriplePath, mark
-
Constructor Details
-
QuadAccSink
-
-
Method Details
-
setGraph
public void setGraph(org.apache.jena.graph.Node n) -
getGraph
public org.apache.jena.graph.Node getGraph() -
addQuad
-
addTriple
public void addTriple(org.apache.jena.graph.Triple triple) - Specified by:
addTriple
in interfaceTripleCollector
-
addTriplePath
- Specified by:
addTriplePath
in interfaceTripleCollector
-
close
public void close()- Specified by:
close
in interfaceorg.apache.jena.atlas.lib.Closeable
-