---
name: "RDF::Redland::Stream"
section: "3pm"
platform: "linux"
package: "librdf-perl"
version: "1.0.17.1+dfsg-6+b6"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/RDF::Redland::Stream"
---

# RDF::Redland::Stream(3pm)

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

## NAME

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

## SYNOPSIS

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

## DESCRIPTION

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.

## SEE ALSO

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

## AUTHOR

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