DOKK / manpages / debian 11 / librdf-perl / RDF::Redland::Stream.3pm.en
RDF::Redland::Stream(3pm) User Contributed Perl Documentation RDF::Redland::Stream(3pm)

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

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

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

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

Returns non 0 if the stream is finished.
Returns the current RDF::Redland::Statement object in the stream or undef if the stream is finished.
Moves to the next RDF::Redland::Statement object in the stream. Returns non-zero if the stream is finished.
Returns the context RDF::Redland::Node object in the stream or undef if the stream is finished.

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

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

2020-11-09 perl v5.32.0