public interface Exchange extends Pluggable, Configurable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
X_POINT_ID
The name of the extension point.
|
Modifier and Type | Method and Description |
---|---|
boolean |
match(NutchDocument doc)
Determines if the document must go to the related index writers.
|
void |
open(java.util.Map<java.lang.String,java.lang.String> parameters)
Initializes the internal variables.
|
getConf, setConf
void open(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters
- Params from the exchange configuration.boolean match(NutchDocument doc)
doc
- The given document.Copyright © 2019 The Apache Software Foundation