@InterfaceAudience.Public @InterfaceStability.Stable public class FieldSelectionMapper<K,V> extends Mapper<K,V,Text,Text>
Mapper.Context
限定符和类型 | 字段和说明 |
---|---|
static org.apache.commons.logging.Log |
LOG |
构造器和说明 |
---|
FieldSelectionMapper() |
限定符和类型 | 方法和说明 |
---|---|
void |
map(K key,
V val,
Mapper.Context context)
The identify function.
|
void |
setup(Mapper.Context context)
Called once at the beginning of the task.
|
public void setup(Mapper.Context context) throws IOException, InterruptedException
Mapper
setup
在类中 Mapper<K,V,Text,Text>
IOException
InterruptedException
public void map(K key, V val, Mapper.Context context) throws IOException, InterruptedException
map
在类中 Mapper<K,V,Text,Text>
IOException
InterruptedException
Copyright © 2009 The Apache Software Foundation