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 Configuration
getConf()
boolean
match(NutchDocument doc)
Determines if the document must go to the related index writers.void
open(Map<String,String> parameters)
Initializes the internal variables.void
setConf(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:
setConf
in interfaceConfigurable
-
getConf
public Configuration getConf()
- Specified by:
getConf
in interfaceConfigurable
-
-