public class BaseTermPipelineAccessor extends Object implements TermPipeline, TermPipelineAccessor
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
static String |
NAMESPACE_PIPELINE
The default namespace for TermPipeline modules to be loaded from
|
protected String |
pipelineOutput
This class is used as a TermPipelineAccessor, and this variable stores
the result of the TermPipeline run for that term.
|
Constructor and Description |
---|
BaseTermPipelineAccessor(String... pipes)
Construct a term pipeline using the specified class names
|
Modifier and Type | Method and Description |
---|---|
String |
pipelineTerm(String t)
A term pipeline accessor
|
void |
processTerm(String t)
Make this object a term pipeline implementor.
|
boolean |
reset()
This method implements the specific rest option needed to implements
query or doc oriented policy.
|
boolean |
resetPipeline()
Reset all the pipeline.
|
protected static final org.slf4j.Logger logger
public static final String NAMESPACE_PIPELINE
protected String pipelineOutput
public BaseTermPipelineAccessor(String... pipes)
public void processTerm(String t)
processTerm
in interface TermPipeline
t
- String the term to process.TermPipeline
public boolean reset()
reset
in interface TermPipeline
public String pipelineTerm(String t)
pipelineTerm
in interface TermPipelineAccessor
t
- String the term to process.public boolean resetPipeline()
resetPipeline
in interface TermPipelineAccessor
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow