@InterfaceAudience.Public @InterfaceStability.Stable public class FieldSelectionReducer<K,V> extends Reducer<Text,Text,Text,Text>
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
FieldSelectionReducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
reduce(Text key,
Iterable<Text> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
This method is called once for each key.
|
void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context)
Called once at the start of the task.
|
public void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
Reducersetup in class Reducer<Text,Text,Text,Text>IOExceptionInterruptedExceptionpublic void reduce(Text key, Iterable<Text> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
Reducerreduce in class Reducer<Text,Text,Text,Text>IOExceptionInterruptedExceptionCopyright © 2020 Apache Software Foundation. All rights reserved.