|
||||||||||
| 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 java.lang.String |
NAMESPACE_PIPELINE
The default namespace for TermPipeline modules to be loaded from |
protected java.lang.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(java.lang.String... pipes)
Construct a term pipeline using the specified class names |
|
| Method Summary | |
|---|---|
java.lang.String |
pipelineTerm(java.lang.String t)
A term pipeline accessor |
void |
processTerm(java.lang.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 java.lang.String NAMESPACE_PIPELINE
protected java.lang.String pipelineOutput
| Constructor Detail |
|---|
public BaseTermPipelineAccessor(java.lang.String... pipes)
| Method Detail |
|---|
public void processTerm(java.lang.String t)
processTerm in interface TermPipelinet - String the term to process.TermPipelinepublic boolean reset()
reset in interface TermPipelinepublic java.lang.String pipelineTerm(java.lang.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 | |||||||||