Class StreamRDF2Thrift

    • Constructor Summary

      Constructors 
      Constructor Description
      StreamRDF2Thrift​(java.io.OutputStream out)  
      StreamRDF2Thrift​(java.io.OutputStream out, boolean encodeValues)  
      StreamRDF2Thrift​(org.apache.thrift.protocol.TProtocol out, boolean encodeValues)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void base​(java.lang.String base)
      base declaration seen
      void close()  
      void finish()
      Finish processing
      void prefix​(java.lang.String prefix, java.lang.String iri)
      prefix declaration seen
      void quad​(Quad quad)
      Quad emitted
      void start()
      Start processing
      void triple​(Triple triple)
      Triple emitted
      • Methods inherited from class java.lang.Object

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

      • StreamRDF2Thrift

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

        public StreamRDF2Thrift​(java.io.OutputStream out,
                                boolean encodeValues)
      • StreamRDF2Thrift

        public StreamRDF2Thrift​(org.apache.thrift.protocol.TProtocol out,
                                boolean encodeValues)
    • Method Detail

      • start

        public void start()
        Description copied from interface: StreamRDF
        Start processing
        Specified by:
        start in interface StreamRDF
      • triple

        public void triple​(Triple triple)
        Description copied from interface: StreamRDF
        Triple emitted
        Specified by:
        triple in interface StreamRDF
      • quad

        public void quad​(Quad quad)
        Description copied from interface: StreamRDF
        Quad emitted
        Specified by:
        quad in interface StreamRDF
      • base

        public void base​(java.lang.String base)
        Description copied from interface: StreamRDF
        base declaration seen
        Specified by:
        base in interface StreamRDF
      • prefix

        public void prefix​(java.lang.String prefix,
                           java.lang.String iri)
        Description copied from interface: StreamRDF
        prefix declaration seen
        Specified by:
        prefix in interface StreamRDF
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • finish

        public void finish()
        Description copied from interface: StreamRDF
        Finish processing
        Specified by:
        finish in interface StreamRDF