Query: rdf::redland::iterator
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RDF::Redland::Iterator(3pm) User Contributed Perl Documentation RDF::Redland::Iterator(3pm)NAMERDF::Redland::Iterator - Redland RDF Iterator ClassSYNOPSISuse RDF::Redland; ... my $iterator=$model->targets_iterator($source_node, $arc_node); while($iterator && !$iterator->end) { my $node=$iterator->current; ... $iterator->next; }DESCRIPTIONThis class is used to return lists of RDF::Redland::Node objects from a method that returns an RDF::Redland::Iterator - commonly one of the get_sources_iterator, get_targets_iterator or get_arcs_iterator methods of the RDF::Redland::Model class. This allows efficient retrieval of long lists of RDF::Redland::Node objects but isn't really very Perl-friendly. The get_sources, get_targets or get_arcs methods of RDF::Redland::Model class return Perl lists and the get_source, get_target and get_arc methods return single arbitrary results.CONSTRUCTORSNo public constructors - are created and returned from various methods of classes including RDF::Redland::ModelMETHODSend Return non 0 if the iterator has finished current Returns the current RDF::Redland::Node object from the iteration or undef if the iteration is finished. next Moves the iterator to the next item, returns undef if the iteration is finished. context Returns the context RDF::Redland::Node object from the iteration or undef if the iteration is finished.SEE ALSORDF::Redland::Model and RDF::Redland::NodeAUTHORDave Beckett - http://www.dajobe.org/ perl v5.14.2 2011-02-04 RDF::Redland::Iterator(3pm)
Similar Topics in the Unix Linux Community |
---|
Father & children |
Redland RDF Library Language Bindings 1.0.7.1 (Default branch) |
Samizdat 0.6.2 (Default branch) |
STL Iterator and user-defined class |
Using variable in awk command |