Webservice::InterMine::ResultIterator - An object for iterating through result rows
my $query = get_query_from_somewhere(); my $iter = $query->result_iterator; while (defined (my $hashref = $iter->hashref)) { # do something with hashref }
This package provides objects for iterating through result sets, where those result sets are rows from a database query.
A Net::HTTP connection to the source of results
A Glob with content. Can be a glob linked to any file-handle or other IO.
The error code from the request, if any.
The error message from the request, if any.
The CSV parser used to parse CSV/TSV lines.
The list of paths in the view for the query that was run.
Returns true if the server responded with a success-y status.
Returns true if the server responded with an error-ish status.
Returns a human readable status line.
returns the next line as a string.
returns the next line as an arrayref.
returns the next line as a hashref
Returns all the lines, in the desired format (string/arrayref/hashref).
Webservice::InterMine::Cookbook for guide on how to use these modules.
Webservice::InterMine::Query
Webservice::InterMine::Service
Webservice::InterMine::Query::Template
Webservice::InterMine::Query::Saved
Alex Kalderimis <dev@intermine.org>
<dev@intermine.org>
Please report any bugs or feature requests to dev@intermine.org.
dev@intermine.org
You can find documentation for this module with the perldoc command.
perldoc Webservice::InterMine::ResultIterator
You can also look for information at:
Webservice::InterMine
http://www.intermine.org
Documentation
http://www.intermine.org/perlapi
Copyright 2006 - 2011 FlyMine, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Webservice::InterMine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Webservice::InterMine
CPAN shell
perl -MCPAN -e shell install Webservice::InterMine
For more information on module installation, please visit the detailed CPAN module installation guide.