Product SiteDocumentation Site

Chapter 6. Java Library

6.1. Overview
6.2. API
6.2.1. Class Wmr
6.2.2. Class WmrIterator
6.3. Example Usage

6.1. Overview

The Java library for WMR is based on two user classes, and using an iterator to manage the list of values passed to the reducer. The two classes that users must provide are:
public class Mapper
{
    public void map(String, String);
}
public class Reducer
{
    public void reduce(String, WmrIterator);
}