public interface StreamEvaluator extends Expressible, Serializable
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(Tuple tuple) |
default Object |
evaluateOverContext()
Execute the evaluator over lets stored within the StreamContext.
|
StreamContext |
getStreamContext() |
void |
setStreamContext(StreamContext streamContext) |
toExplanation, toExpressionvoid setStreamContext(StreamContext streamContext)
StreamContext getStreamContext()
Object evaluate(Tuple tuple) throws IOException
IOExceptiondefault Object evaluateOverContext() throws IOException
streamContext.lets
Default implementation just creates a tuple out of all values in the context
and passes that to evaluate(Tuple).IOException - throw on error during evaluationCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.