Class RecursiveEvaluator
java.lang.Object
org.apache.solr.client.solrj.io.eval.RecursiveEvaluator
- All Implemented Interfaces:
Serializable,StreamEvaluator,ValueWorker,Expressible
- Direct Known Subclasses:
CanberraEvaluator,ChebyshevEvaluator,ColumnEvaluator,CosineDistanceEvaluator,EarthMoversEvaluator,EuclideanEvaluator,ManhattanEvaluator,MemsetEvaluator,MonteCarloEvaluator,RecursiveBooleanEvaluator,RecursiveNumericEvaluator,RecursiveNumericListEvaluator,RecursiveObjectEvaluator,RecursiveTemporalEvaluator
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StreamFactoryprotected List<StreamEvaluator> protected UUIDprotected static final longprotected StreamContext -
Constructor Summary
ConstructorsConstructorDescriptionRecursiveEvaluator(StreamExpression expression, StreamFactory factory) RecursiveEvaluator(StreamExpression expression, StreamFactory factory, List<String> ignoredNamedParameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectnormalizeInputType(Object value) protected ObjectnormalizeOutputType(Object value) recursivelyEvaluate(Tuple tuple) voidsetStreamContext(StreamContext context) toExplanation(StreamFactory factory) Returns an explanation about the stream objecttoExpression(StreamFactory factory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.client.solrj.io.eval.StreamEvaluator
evaluateOverContextMethods inherited from interface org.apache.solr.client.solrj.io.eval.ValueWorker
doWork
-
Field Details
-
serialVersionUID
protected static final long serialVersionUID- See Also:
-
streamContext
-
nodeId
-
constructingFactory
-
containedEvaluators
-
-
Constructor Details
-
RecursiveEvaluator
- Throws:
IOException
-
RecursiveEvaluator
public RecursiveEvaluator(StreamExpression expression, StreamFactory factory, List<String> ignoredNamedParameters) throws IOException - Throws:
IOException
-
-
Method Details
-
normalizeInputType
-
normalizeOutputType
-
evaluate
- Specified by:
evaluatein interfaceStreamEvaluator- Throws:
IOException
-
recursivelyEvaluate
- Throws:
IOException
-
toExpression
- Specified by:
toExpressionin interfaceExpressible- Throws:
IOException
-
toExplanation
Description copied from interface:ExpressibleReturns an explanation about the stream object- Specified by:
toExplanationin interfaceExpressible- 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
-
setStreamContext
- Specified by:
setStreamContextin interfaceStreamEvaluator
-
getStreamContext
- Specified by:
getStreamContextin interfaceStreamEvaluator
-