Class PipedTriplesStream

  • All Implemented Interfaces:
    StreamRDF

    public class PipedTriplesStream
    extends PipedRDFStream<Triple>
    implements StreamRDF
    Implementation of a producer class that sends Triples; must be connected to a PipedRDFIterator<Triple>.
    • Constructor Detail

      • PipedTriplesStream

        public PipedTriplesStream​(PipedRDFIterator<Triple> sink)
        Creates a piped triples stream connected to the specified piped RDF iterator. Triples written to this stream will then be available as input from sink.
        Parameters:
        sink - The piped RDF iterator to connect to.
    • Method Detail

      • 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