Webservice::InterMine::Query::Roles::Runnable - Composable behaviour for runnable queries
This module provides composable behaviour for running a query against a webservice and getting the results.
Returns a results iterator for use with a query.
returns the results from a query in the result format specified.
The following options are available:
as => $format
Possible values: (string|strings|arrayrefs|hashrefs|jsonobjects|jsonrows|count)
The format to request results in. The default is arrayrefs
arrayrefs
size => $size
The number of results to return. Leave undefined for "all" (default).
start => $start
The first result to return (starting at 0). The default is 0.
json => $json_processor
Possible values: (inflate|instantiate|raw|perl)
What to do with JSON results. The results can be returned as inflated objects, full instantiated Moose objects, a raw json string, or as a perl data structure. (default is perl).
perl
Inflates the thing passed in, blessing hashes into Webservice::InterMine::ResultObjects, and recursing through their values, and iterating over their arrays.
Webservice::InterMine::Cookbook for guide on how to use these modules.
Webservice::InterMine::Query
Webservice::InterMine::Service
Webservice::InterMine::Query::Template
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::Query::Roles::Runnable
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.