@InterfaceAudience.Public @InterfaceStability.Stable public class FieldSelectionReducer<K,V> extends Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
Reducer.Context
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
FieldSelectionReducer() |
Modifier and Type | Method and Description |
---|---|
void |
reduce(org.apache.hadoop.io.Text key,
java.lang.Iterable<org.apache.hadoop.io.Text> values,
Reducer.Context context)
This method is called once for each key.
|
void |
setup(Reducer.Context context)
Called once at the start of the task.
|
public void setup(Reducer.Context context) throws java.io.IOException, java.lang.InterruptedException
Reducer
public void reduce(org.apache.hadoop.io.Text key, java.lang.Iterable<org.apache.hadoop.io.Text> values, Reducer.Context context) throws java.io.IOException, java.lang.InterruptedException
Reducer
Copyright © 2009 The Apache Software Foundation