Class CollectorStreamTriples

java.lang.Object
org.apache.jena.riot.lang.CollectorStreamBase<org.apache.jena.graph.Triple>
org.apache.jena.riot.lang.CollectorStreamTriples
All Implemented Interfaces:
StreamRDF

public class CollectorStreamTriples extends CollectorStreamBase<org.apache.jena.graph.Triple> implements StreamRDF
Collector stream for triples.
See Also:
  • Constructor Details

    • CollectorStreamTriples

      public CollectorStreamTriples()
  • Method Details

    • start

      public void start()
      Description copied from interface: StreamRDF
      Start processing
      Specified by:
      start in interface StreamRDF
      Overrides:
      start in class CollectorStreamBase<org.apache.jena.graph.Triple>
    • triple

      public void triple(org.apache.jena.graph.Triple triple)
      Description copied from interface: StreamRDF
      Triple emitted
      Specified by:
      triple in interface StreamRDF
      Overrides:
      triple in class CollectorStreamBase<org.apache.jena.graph.Triple>
    • getCollected

      public List<org.apache.jena.graph.Triple> getCollected()
      Specified by:
      getCollected in class CollectorStreamBase<org.apache.jena.graph.Triple>
      Returns:
      The collection received by this instance.