Class QuadAccSink

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 Details

    • QuadAccSink

      public QuadAccSink(org.apache.jena.atlas.lib.Sink<Quad> sink)
  • Method Details

    • setGraph

      public void setGraph(org.apache.jena.graph.Node n)
    • getGraph

      public org.apache.jena.graph.Node getGraph()
    • addQuad

      public void addQuad(Quad quad)
    • addTriple

      public void addTriple(org.apache.jena.graph.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 org.apache.jena.atlas.lib.Closeable