Class RawValueEvaluator
- java.lang.Object
-
- org.apache.solr.client.solrj.io.eval.SourceEvaluator
-
- org.apache.solr.client.solrj.io.eval.RawValueEvaluator
-
- All Implemented Interfaces:
Serializable
,StreamEvaluator
,Expressible
public class RawValueEvaluator 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 RawValueEvaluator(Object value)
RawValueEvaluator(StreamExpression expression, StreamFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(Tuple tuple)
Explanation
toExplanation(StreamFactory factory)
Returns an explanation about the stream objectStreamExpressionParameter
toExpression(StreamFactory factory)
-
Methods inherited from class org.apache.solr.client.solrj.io.eval.SourceEvaluator
getStreamContext, setStreamContext
-
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
-
RawValueEvaluator
public RawValueEvaluator(Object value)
-
RawValueEvaluator
public RawValueEvaluator(StreamExpression expression, StreamFactory factory) throws IOException
- Throws:
IOException
-
-
Method Detail
-
toExpression
public StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
- Throws:
IOException
-
toExplanation
public Explanation toExplanation(StreamFactory factory) throws IOException
Description copied from interface:Expressible
Returns an explanation about the stream object- Parameters:
factory
- Stream factory for this, contains information about the function name- Returns:
- Explanation about this stream object containing explanations of any child stream objects
- Throws:
IOException
- throw on any error
-
-