RDF::R...Stream(3pm)
β¨ RDF::Redland::Stream β¨
okay bestie, gather round, because today we're talking about RDF::Redland::Stream from the User Contributed Perl Documentation β it's the Redland RDF Stream of RDF::Redland::Statement objects Class, and yes it's a whole class, not just a vibe π
πΈ NAME πΈ
RDF::Redland::Stream β Redland RDF Stream of RDF::Redland::Statement objects Class
like. that's her. that's the whole name. iconic. π
π¦ SYNOPSIS π¦
the way you actually use her, fr fr:
use RDF::Redland;
...
my $stream=$model->serialise;
while($stream && !$stream->end) {
my $statement=$stream->current;
...
$stream->next;
}
see how she loops? see how she slays? yes. that's the energy. β
π DESCRIPTION π
okay so. a RDF::Redland::Stream is literally just a sequence of RDF::Redland::Statement objects that gets passed around between all the various Redland objects like a little note in the group chat. π«Ά that's it. that's the whole description. no cap.
π CONSTRUCTORS π
bad news bestie: no public constructors. π you cannot just make one. she's not like other classes.
instead, they get created and returned from various methods of classes including RDF::Redland::Model and RDF::Redland::Parser. so you get handed one. you don't build one. it's giving β¨unattainableβ¨ and honestly? respect.
π METHODS π
here's the whole menu, no skips, no summaries, we don't do that here:
endβ returnsnon 0if the stream is finished. that's the whole thing. she's done, she tells you, bye. πcurrentβ returns the currentRDF::Redland::Statementobject in the stream, orundefif the stream is finished. (yes,undefwhen it's over. that's how you know.)nextβ moves to the nextRDF::Redland::Statementobject in the stream. returns non-zero if the stream is finished. so like, walking forward and getting a little "we're done here" tap on the shoulder. πΆβοΈcontextβ returns the contextRDF::Redland::Nodeobject in the stream, orundefif the stream is finished. note this one is aNode, not aStatement. she's different. she's the main character of her own little return type. π
π₯ SEE ALSO π₯
go read these next, bestie, they're the whole friend group:
RDF::Redland::ModelRDF::Redland::Parser
π AUTHOR π
Dave Beckett β http://www.dajobe.org/
the icon. the legend. the moment. π«‘
okay that's the page!! this little rewrite was living happily as perl v5.42.3, dated 2026-08-20, and she was already called RDF::R...Stream(3pm) when I found her. mwah. πβ¨π go loop some streams, bestie. π¦
π¦ where this page comes from
- ubuntu stonking: librdf-perl 1.0.17.1+dfsg-9build1 Β· LGPL-2.1-or-later OR Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms