Class QuadAccSink

  • All Implemented Interfaces:
    org.apache.jena.atlas.lib.Closeable, TripleCollector
    Direct Known Subclasses:
    QuadAcc, QuadDataAccSink

    public class QuadAccSink
    extends java.lang.Object
    implements TripleCollector, org.apache.jena.atlas.lib.Closeable
    Accumulate quads into a Sink (including allowing variables) during parsing.
    • Constructor Detail

      • QuadAccSink

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

      • setGraph

        public void setGraph​(Node n)
      • getGraph

        public Node getGraph()
      • addQuad

        public void addQuad​(Quad quad)
      • close

        public void close()
        Specified by:
        close in interface org.apache.jena.atlas.lib.Closeable