Hadoop::Streaming::Reducer::Input - Parse input stream for reducer
version 0.143060
$Input->next_key();
Parses the next line into key/value (splits on tab) and returns the key portion.
Returns undef if there is no next line.
$Input->next_line();
Reads the next line into buffer and returns it.
Returns undef if there are no more lines (end of file).
$Input->getline();
Returns the next available line. Clears the internal line buffer if set.
$Input->iterator();
Returns a new Hadoop::Streaming::Reducer::Input::Iterator for this object.
$Input->each();
Grabs the next line and splits on tabs. Returns an array containing the output of the split.
andrew grangaard <spazm@cpan.org>
Naoya Ito <naoya@hatena.ne.jp>
This software is copyright (c) 2014 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.
To install Hadoop::Streaming, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hadoop::Streaming
CPAN shell
perl -MCPAN -e shell install Hadoop::Streaming
For more information on module installation, please visit the detailed CPAN module installation guide.