Package org.apache.nutch.crawl
Class LinkDbFilter
This class provides a way to separate the URL normalization and filtering
steps from the rest of LinkDb manipulation code.
- Author:
- Andrzej Bialecki
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
Mapper.Context -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
URL_FILTERING
- See Also:
-
URL_NORMALIZING
- See Also:
-
URL_NORMALIZING_SCOPE
- See Also:
-
-
Constructor Details
-
LinkDbFilter
public LinkDbFilter()
-
-
Method Details
-
setup
-
map
public void map(Text key, Inlinks value, Mapper<Text, Inlinks, throws IOException, InterruptedExceptionText, Inlinks>.Context context) - Overrides:
mapin classMapper<Text,Inlinks, Text, Inlinks> - Throws:
IOExceptionInterruptedException
-