Product SiteDocumentation Site

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.