Package org.apache.solr.handler
Class AnalyzeEvaluator
- java.lang.Object
-
- org.apache.solr.client.solrj.io.eval.SourceEvaluator
-
- org.apache.solr.handler.AnalyzeEvaluator
-
- All Implemented Interfaces:
Serializable,StreamEvaluator,Expressible
public class AnalyzeEvaluator extends SourceEvaluator
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.solr.client.solrj.io.eval.SourceEvaluator
nodeId, streamContext
-
-
Constructor Summary
Constructors Constructor Description AnalyzeEvaluator(String _fieldName, String _analyzerField)AnalyzeEvaluator(StreamExpression expression, StreamFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectevaluate(Tuple tuple)voidsetStreamContext(StreamContext context)ExplanationtoExplanation(StreamFactory factory)StreamExpressionParametertoExpression(StreamFactory factory)-
Methods inherited from class org.apache.solr.client.solrj.io.eval.SourceEvaluator
getStreamContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.client.solrj.io.eval.StreamEvaluator
evaluateOverContext
-
-
-
-
Constructor Detail
-
AnalyzeEvaluator
public AnalyzeEvaluator(StreamExpression expression, StreamFactory factory) throws IOException
- Throws:
IOException
-
-
Method Detail
-
setStreamContext
public void setStreamContext(StreamContext context)
- Specified by:
setStreamContextin interfaceStreamEvaluator- Overrides:
setStreamContextin classSourceEvaluator
-
evaluate
public Object evaluate(Tuple tuple) throws IOException
- Throws:
IOException
-
toExpression
public StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
- Throws:
IOException
-
toExplanation
public Explanation toExplanation(StreamFactory factory) throws IOException
- Throws:
IOException
-
-