logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

RDF::Redland::Stream - Redland RDF Stream of RDF::Redland::Statement objects Class

Author

       Dave Beckett - http://www.dajobe.org/

perl v5.40.0                                       2024-10-20                          RDF::Redland::Stream(3pm)

Constructors

       No public constructors - are created and returned from various methods of classes including
       RDF::Redland::Model and RDF::Redland::Parser

Description

       Represents a sequence of RDF::Redland::Statement objects passed between various Redland objects.

Methods

       end Returns non 0 if the stream is finished.

       current
           Returns the current RDF::Redland::Statement object in the stream or undef if the stream is finished.

       next
           Moves  to  the  next RDF::Redland::Statement object in the stream.  Returns non-zero if the stream is
           finished.

       context
           Returns the context RDF::Redland::Node object in the stream or undef if the stream is finished.

Name

       RDF::Redland::Stream - Redland RDF Stream of RDF::Redland::Statement objects Class

See Also

       RDF::Redland::Model and RDF::Redland::Parser

Synopsis

         use RDF::Redland;

         ...
         my $stream=$model->serialise;
         while($stream && !$stream->end) {
           my $statement=$stream->current;
           ...
           $stream->next;
         }

See Also