RDF::Redland::Stream(3pm)

RDF::Redland::Stream3pm

Redland rdf stream of rdf::redland::statement objects class

Usage

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

Overview

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

Constructors

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

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.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13

Author

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

From librdf-perl 1.0.17.1+dfsg-6+b6 in Debian 13 (Trixie). Parsed by carta from the page's man source.