Class BatchedStreamRDF

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

public class BatchedStreamRDF extends Object implements StreamRDF
Batch a stream into triples and/or quads. Triples are batched on subject Quads are batched on (graph, subject).
  • Constructor Details

  • Method Details

    • start

      public final 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
    • finish

      public final void finish()
      Description copied from interface: StreamRDF
      Finish processing
      Specified by:
      finish 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