|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terrier.terms.BaseTermPipelineAccessor
public class BaseTermPipelineAccessor
A base implementation for TermPipelineAccessor
| Field Summary | |
|---|---|
protected static org.apache.log4j.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 Summary | |
|---|---|
BaseTermPipelineAccessor(String... pipes)
Construct a term pipeline using the specified class names |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger logger
public static final String NAMESPACE_PIPELINE
protected String pipelineOutput
| Constructor Detail |
|---|
public BaseTermPipelineAccessor(String... pipes)
| Method Detail |
|---|
public void processTerm(String t)
processTerm in interface TermPipelinet - String the term to process.TermPipelinepublic boolean reset()
reset in interface TermPipelinepublic String pipelineTerm(String t)
pipelineTerm in interface TermPipelineAccessort - String the term to process.
public boolean resetPipeline()
resetPipeline in interface TermPipelineAccessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||