Net::Bullfinch::Iterator - A way to iterator over results from Bullfinch
version 0.14
use Net::Bullfinch; my $client = Net::Bullfinch->new(host => '172.16.49.130'); my $req = { statement => 'some-query' }; my $items = $client->iterate( request_queue => 'test-net-kestrel', request => $req, response_queue_suffix => 'foobar', iterator_options => { max_results => 200 } ); while ( my $block = $items->next ) { foreach my $item ( @$block ) { # do something with each item ... } }
This module provides a way to iterate over a result stream coming from Net::Bullfinch. It uses the Data::Stream::Bulk role and so therefore has all the functionality implied therein.
Cory G Watson <gphat@cpan.org>
Stevan Little <stevan.little@iinteractive.com>
Jay Hannah <jay.hannah@iinteractive.com>
Trey Bianchini <trey.bianchini@iinteractive.com>
Jesse Luehrs <doy@tozt.net>
Florian Ragwitz <rafl@debian.org>
This software is copyright (c) 2013 by Infinity Interactive, Inc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::Bullfinch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Bullfinch
CPAN shell
perl -MCPAN -e shell install Net::Bullfinch
For more information on module installation, please visit the detailed CPAN module installation guide.