@InterfaceAudience.Public @InterfaceStability.Stable public class FieldSelectionReducer<K,V> extends Reducer<Text,Text,Text,Text>
Reducer.Context
限定符和类型 | 字段和说明 |
---|---|
static org.apache.commons.logging.Log |
LOG |
构造器和说明 |
---|
FieldSelectionReducer() |
限定符和类型 | 方法和说明 |
---|---|
void |
reduce(Text key,
Iterable<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 IOException, InterruptedException
Reducer
setup
在类中 Reducer<Text,Text,Text,Text>
IOException
InterruptedException
public void reduce(Text key, Iterable<Text> values, Reducer.Context context) throws IOException, InterruptedException
Reducer
reduce
在类中 Reducer<Text,Text,Text,Text>
IOException
InterruptedException
Copyright © 2009 The Apache Software Foundation