RDF::Redland::Iterator man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

RDF::Redland::IteratorUser Contributed Perl DocumentaRDF::Redland::Iterator(3)

NAME
       RDF::Redland::Iterator - Redland RDF Iterator Class

SYNOPSIS
	 use RDF::Redland;

	 ...
	 my $iterator=$model->targets_iterator($source_node, $arc_node);
	 while($iterator && !$iterator->end) {
	   my $node=$iterator->current;
	   ...
	   $iterator->next;
	 }

DESCRIPTION
       This 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.

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

METHODS
       end 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 ALSO
       RDF::Redland::Model and RDF::Redland::Node

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

perl v5.14.1			  2011-02-04	     RDF::Redland::Iterator(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net