public class DbUpdateMapper extends org.apache.gora.mapreduce.GoraMapper<String,WebPage,UrlWithScore,NutchWritable>
Mapper.Context
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
DbUpdateMapper() |
Modifier and Type | Method and Description |
---|---|
void |
map(String key,
WebPage page,
Mapper.Context context) |
void |
setup(Mapper.Context context) |
public void map(String key, WebPage page, Mapper.Context context) throws IOException, InterruptedException
map
in class Mapper<String,WebPage,UrlWithScore,NutchWritable>
IOException
InterruptedException
public void setup(Mapper.Context context)
setup
in class Mapper<String,WebPage,UrlWithScore,NutchWritable>
Copyright © 2015 The Apache Software Foundation