Author image Andrew Grangaard
and 1 contributors

NAME

Hadoop::Streaming::Reducer::Input::ValuesIterator - Role providing access to values for a given key.

VERSION

version 0.110030

METHODS

has_next

    $ValuesIterator->has_next();

Checks if the ValueIterator has another value available for this key.

Returns 1 on success, 0 if the next value is from another key, and undef if there is no next key.

next

    $ValuesIterator->next();

Returns the next value available. Reads from $ValuesIterator->input_iter->input

AUTHORS

  • andrew grangaard <spazm@cpan.org>

  • Naoya Ito <naoya@hatena.ne.jp>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Naoya Ito <naoya@hatena.ne.jp>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.