Class StreamPatch

java.lang.Object
org.apache.jena.rdfpatch.StreamPatch
All Implemented Interfaces:
org.apache.jena.riot.system.StreamRDF

public class StreamPatch extends Object implements org.apache.jena.riot.system.StreamRDF
Convert a StreamRDF to a RDFPatch. StreamRDF.start() and StreamRDF.finish() must be called; these bracket the patch in transaction markers TX and TC.
  • Constructor Details

    • StreamPatch

      public StreamPatch(RDFChanges changes)
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.apache.jena.riot.system.StreamRDF
    • finish

      public void finish()
      Specified by:
      finish in interface org.apache.jena.riot.system.StreamRDF
    • triple

      public void triple(org.apache.jena.graph.Triple triple)
      Specified by:
      triple in interface org.apache.jena.riot.system.StreamRDF
    • quad

      public void quad(org.apache.jena.sparql.core.Quad quad)
      Specified by:
      quad in interface org.apache.jena.riot.system.StreamRDF
    • base

      public void base(String base)
      Specified by:
      base in interface org.apache.jena.riot.system.StreamRDF
    • prefix

      public void prefix(String prefix, String iri)
      Specified by:
      prefix in interface org.apache.jena.riot.system.StreamRDF