Prev
Next
3.2. API
3.2.1. Class Wmr
The Wmr class contains one method:
class function
Wmr.
emit
(
key
,
value
)
Outputs a pair composed of
key
and
value
from the mapper or reducer. Both arguments may have any type, and will be converted to strings using the built-in
str()
function.
Prev
Chapter 3. Python Libraries
Up
Home
Next
3.3. Example Usage