Class StreamRDF2Thrift

java.lang.Object
org.apache.jena.riot.thrift.StreamRDF2Thrift
All Implemented Interfaces:
AutoCloseable, StreamRDF

public class StreamRDF2Thrift extends Object implements StreamRDF, AutoCloseable
Encode StreamRDF in Thrift.
See Also:
  • Constructor Details

    • StreamRDF2Thrift

      public StreamRDF2Thrift(OutputStream out)
    • StreamRDF2Thrift

      public StreamRDF2Thrift(OutputStream out, boolean encodeValues)
    • StreamRDF2Thrift

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

    • start

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

      public void triple(org.apache.jena.graph.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(String base)
      Description copied from interface: StreamRDF
      base declaration seen
      Specified by:
      base in interface StreamRDF
    • prefix

      public void prefix(String prefix, 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 AutoCloseable
    • finish

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