Class PipedQuadsStream

  • All Implemented Interfaces:
    StreamRDF

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

      • PipedQuadsStream

        public PipedQuadsStream​(PipedRDFIterator<Quad> sink)
        Creates a piped quads stream connected to the specified piped RDF iterator. Quads 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