public interface Exchange extends Pluggable, Configurable
Modifier and Type | Field and Description |
---|---|
static 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(Map<String,String> parameters)
Initializes the internal variables.
|
getConf, setConf
static final String X_POINT_ID
void open(Map<String,String> parameters)
parameters
- Params from the exchange configuration.boolean match(NutchDocument doc)
doc
- The given document.Copyright © 2021 The Apache Software Foundation