Class SinkQuadsToDataset

  • All Implemented Interfaces:
    org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sink<Quad>

    public class SinkQuadsToDataset
    extends java.lang.Object
    implements org.apache.jena.atlas.lib.Sink<Quad>
    Send quads to a dataset. This Sink must be closed after use.
    • Constructor Detail

      • SinkQuadsToDataset

        public SinkQuadsToDataset​(boolean x,
                                  DatasetGraph dataset)
    • Method Detail

      • send

        public void send​(Quad quad)
        Specified by:
        send in interface org.apache.jena.atlas.lib.Sink<Quad>
      • flush

        public void flush()
        Specified by:
        flush in interface org.apache.jena.atlas.lib.Sink<Quad>
      • close

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