RedlandDave Beckett |
|||||
|
Hosted by
since 2005. Redland BindingsLanguagesDemonstrationsData |
Redland librdf Language Bindings - Perl RDF::Redland::Iterator ClassNAMERDF::Redland::Iterator - Redland RDF Iterator Class SYNOPSISuse 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::Model METHODS
SEE ALSOthe RDF::Redland::Model manpage and the RDF::Redland::Node manpage AUTHORDave Beckett - http://www.dajobe.org/ (C) Copyright (C) 2000-2011 Dave Beckett, (C) Copyright (C) 2000-2005 University of Bristol |