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 Object
evaluate(Tuple tuple)
void
setStreamContext(StreamContext context)
Explanation
toExplanation(StreamFactory factory)
StreamExpressionParameter
toExpression(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:
setStreamContext
in interfaceStreamEvaluator
- Overrides:
setStreamContext
in 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
-
-