com.hp.hpl.jena.sparql.modify.request
Class QuadAccSink

java.lang.Object
  extended by com.hp.hpl.jena.sparql.modify.request.QuadAccSink
All Implemented Interfaces:
TripleCollector, Closeable
Direct Known Subclasses:
QuadAcc, QuadDataAccSink

public class QuadAccSink
extends Object
implements TripleCollector, Closeable

Accumulate quads into a Sink (including allowing variables) during parsing.


Constructor Summary
QuadAccSink(Sink<Quad> sink)
           
 
Method Summary
 void addQuad(Quad quad)
           
 void addTriple(Triple triple)
           
 void addTriplePath(TriplePath tPath)
           
 void close()
           
 Node getGraph()
           
 void setGraph(Node n)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuadAccSink

public QuadAccSink(Sink<Quad> sink)
Method Detail

setGraph

public void setGraph(Node n)

getGraph

public Node getGraph()

addQuad

public void addQuad(Quad quad)

addTriple

public void addTriple(Triple triple)
Specified by:
addTriple in interface TripleCollector

addTriplePath

public void addTriplePath(TriplePath tPath)
Specified by:
addTriplePath in interface TripleCollector

close

public void close()
Specified by:
close in interface Closeable


Licenced under the Apache License, Version 2.0