Class SinkQuadsToDataset

java.lang.Object
org.apache.jena.riot.lang.SinkQuadsToDataset
All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sink<Quad>

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

    • SinkQuadsToDataset

      public SinkQuadsToDataset(boolean x, DatasetGraph dataset)
  • Method Details

    • 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