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, toExpression
void setStreamContext(StreamContext streamContext)
StreamContext getStreamContext()
Object evaluate(Tuple tuple) throws IOException
IOException
default 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-2017 Apache Software Foundation. All Rights Reserved.