Class SinkTriplesToGraph

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

    public class SinkTriplesToGraph
    extends java.lang.Object
    implements org.apache.jena.atlas.lib.Sink<Triple>
    Send triples to a graph. This Sink must be closed after use.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void flush()  
      void send​(Triple triple)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SinkTriplesToGraph

        public SinkTriplesToGraph​(boolean x,
                                  Graph g)
    • Method Detail

      • send

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

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

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