Package org.apache.nutch.exchange.jexl
Class JexlExchange
- java.lang.Object
-
- org.apache.nutch.exchange.jexl.JexlExchange
-
- All Implemented Interfaces:
Configurable,Exchange,Pluggable
public class JexlExchange extends Object implements Exchange
-
-
Field Summary
-
Fields inherited from interface org.apache.nutch.exchange.Exchange
X_POINT_ID
-
-
Constructor Summary
Constructors Constructor Description JexlExchange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationgetConf()booleanmatch(NutchDocument doc)Determines if the document must go to the related index writers.voidopen(Map<String,String> parameters)Initializes the internal variables.voidsetConf(Configuration configuration)
-
-
-
Method Detail
-
match
public boolean match(NutchDocument doc)
Determines if the document must go to the related index writers.
-
setConf
public void setConf(Configuration configuration)
- Specified by:
setConfin interfaceConfigurable
-
getConf
public Configuration getConf()
- Specified by:
getConfin interfaceConfigurable
-
-