Class SinkQuadBracedOutput

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

    public class SinkQuadBracedOutput
    extends java.lang.Object
    implements org.apache.jena.atlas.lib.Sink<Quad>, org.apache.jena.atlas.lib.Closeable
    A class that print quads, SPARQL style (maybe good for Trig too?)
    • Constructor Detail

      • SinkQuadBracedOutput

        public SinkQuadBracedOutput​(java.io.OutputStream out)
      • SinkQuadBracedOutput

        public SinkQuadBracedOutput​(java.io.OutputStream out,
                                    SerializationContext sCxt)
      • SinkQuadBracedOutput

        public SinkQuadBracedOutput​(org.apache.jena.atlas.io.IndentedWriter out,
                                    SerializationContext sCxt)
    • Method Detail

      • open

        public void open()
      • send

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

        public void send​(Node graphName,
                         Triple triple)
      • 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